diff --git a/BasiliskII/src/Unix/main_unix.cpp b/BasiliskII/src/Unix/main_unix.cpp index 0f65503e..c5542ac9 100644 --- a/BasiliskII/src/Unix/main_unix.cpp +++ b/BasiliskII/src/Unix/main_unix.cpp @@ -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 diff --git a/BasiliskII/src/Unix/video_x.cpp b/BasiliskII/src/Unix/video_x.cpp index 54d99712..4a4d43b1 100644 --- a/BasiliskII/src/Unix/video_x.cpp +++ b/BasiliskII/src/Unix/video_x.cpp @@ -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);