mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-07 22:05:21 +00:00
- disabled X backing store
This commit is contained in:
parent
c188457242
commit
f9ccb1dffc
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user