23 |
#include <unistd.h> |
#include <unistd.h> |
24 |
#include <time.h> |
#include <time.h> |
25 |
#include <errno.h> |
#include <errno.h> |
26 |
|
#include <strings.h> |
27 |
#include "rdesktop.h" |
#include "rdesktop.h" |
28 |
#include "xproto.h" |
#include "xproto.h" |
29 |
|
|
64 |
|
|
65 |
/* software backing store */ |
/* software backing store */ |
66 |
static BOOL g_ownbackstore; |
static BOOL g_ownbackstore; |
67 |
static Pixmap g_backstore = NULL; |
static Pixmap g_backstore = 0; |
68 |
|
|
69 |
/* Moving in single app mode */ |
/* Moving in single app mode */ |
70 |
static BOOL g_moving_wnd; |
static BOOL g_moving_wnd; |
895 |
if (g_gc == NULL) |
if (g_gc == NULL) |
896 |
g_gc = XCreateGC(g_display, g_wnd, 0, NULL); |
g_gc = XCreateGC(g_display, g_wnd, 0, NULL); |
897 |
|
|
898 |
if ((g_ownbackstore) && (g_backstore == NULL)) |
if ((g_ownbackstore) && (g_backstore == 0)) |
899 |
{ |
{ |
900 |
g_backstore = XCreatePixmap(g_display, g_wnd, g_width, g_height, g_depth); |
g_backstore = XCreatePixmap(g_display, g_wnd, g_width, g_height, g_depth); |
901 |
|
|