30 |
|
|
31 |
extern int g_width; |
extern int g_width; |
32 |
extern int g_height; |
extern int g_height; |
33 |
|
extern int g_xpos; |
34 |
|
extern int g_ypos; |
35 |
extern BOOL g_sendmotion; |
extern BOOL g_sendmotion; |
36 |
extern BOOL g_fullscreen; |
extern BOOL g_fullscreen; |
37 |
extern BOOL g_grab_keyboard; |
extern BOOL g_grab_keyboard; |
966 |
attribs.override_redirect = g_fullscreen; |
attribs.override_redirect = g_fullscreen; |
967 |
attribs.colormap = g_xcolmap; |
attribs.colormap = g_xcolmap; |
968 |
|
|
969 |
g_wnd = XCreateWindow(g_display, RootWindowOfScreen(g_screen), 0, 0, wndwidth, wndheight, |
g_wnd = XCreateWindow(g_display, RootWindowOfScreen(g_screen), g_xpos, g_ypos, wndwidth, wndheight, |
970 |
0, g_depth, InputOutput, g_visual, |
0, g_depth, InputOutput, g_visual, |
971 |
CWBackPixel | CWBackingStore | CWOverrideRedirect | |
CWBackPixel | CWBackingStore | CWOverrideRedirect | |
972 |
CWColormap | CWBorderPixel, &attribs); |
CWColormap | CWBorderPixel, &attribs); |