43 |
Window g_wnd; |
Window g_wnd; |
44 |
BOOL g_enable_compose = False; |
BOOL g_enable_compose = False; |
45 |
static GC g_gc; |
static GC g_gc; |
46 |
|
static BOOL g_gc_initialized = False; |
47 |
static Visual *g_visual; |
static Visual *g_visual; |
48 |
static int g_depth; |
static int g_depth; |
49 |
static int g_bpp; |
static int g_bpp; |
888 |
CWBackPixel | CWBackingStore | CWOverrideRedirect | |
CWBackPixel | CWBackingStore | CWOverrideRedirect | |
889 |
CWColormap | CWBorderPixel, &attribs); |
CWColormap | CWBorderPixel, &attribs); |
890 |
|
|
891 |
g_gc = XCreateGC(g_display, g_wnd, 0, NULL); |
if ( ! g_gc_initialized ) |
892 |
|
{ |
893 |
|
g_gc = XCreateGC(g_display, g_wnd, 0, NULL); |
894 |
|
g_gc_initialized = True; |
895 |
|
} |
896 |
|
|
897 |
if ((g_ownbackstore) && (! g_backstore_initialized)) |
if ((g_ownbackstore) && (! g_backstore_initialized)) |
898 |
{ |
{ |