204 |
|
wattr.event_mask = eventmask = win_eventmask; |
205 |
|
wattr.background_pixel = black_pixel; |
206 |
|
wattr.border_pixel = black_pixel; |
207 |
< |
wattr.backing_store = Always; |
208 |
< |
wattr.backing_planes = xdepth; |
207 |
> |
wattr.backing_store = NotUseful; |
208 |
|
|
209 |
|
XSync(x_display, false); |
210 |
|
the_win = XCreateWindow(x_display, rootwin, 0, 0, width, height, 0, xdepth, |
211 |
< |
InputOutput, vis, CWEventMask | CWBackPixel | CWBorderPixel | |
213 |
< |
CWBackingStore | CWBackingPlanes, &wattr); |
211 |
> |
InputOutput, vis, CWEventMask | CWBackPixel | CWBorderPixel | CWBackingStore, &wattr); |
212 |
|
XSync(x_display, false); |
213 |
|
XStoreName(x_display, the_win, GetString(STR_WINDOW_TITLE)); |
214 |
|
XMapRaised(x_display, the_win); |