- disabled X backing store

This commit is contained in:
cebix 1999-10-07 13:15:15 +00:00
parent c188457242
commit f9ccb1dffc
2 changed files with 3 additions and 5 deletions

View File

@ -153,7 +153,7 @@ int main(int argc, char **argv)
#if ENABLE_DGA
// Fork out, so we can return from fullscreen mode when things get ugly
XF86DGAForkApp(XDefaultScreen(x_display));
XF86DGAForkApp(DefaultScreen(x_display));
#endif
#if ENABLE_GTK

View File

@ -204,13 +204,11 @@ static bool init_window(int width, int height)
wattr.event_mask = eventmask = win_eventmask;
wattr.background_pixel = black_pixel;
wattr.border_pixel = black_pixel;
wattr.backing_store = Always;
wattr.backing_planes = xdepth;
wattr.backing_store = NotUseful;
XSync(x_display, false);
the_win = XCreateWindow(x_display, rootwin, 0, 0, width, height, 0, xdepth,
InputOutput, vis, CWEventMask | CWBackPixel | CWBorderPixel |
CWBackingStore | CWBackingPlanes, &wattr);
InputOutput, vis, CWEventMask | CWBackPixel | CWBorderPixel | CWBackingStore, &wattr);
XSync(x_display, false);
XStoreName(x_display, the_win, GetString(STR_WINDOW_TITLE));
XMapRaised(x_display, the_win);