From e39543b963b6f2347c35aa7373dd491051488855 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 9 Aug 2014 10:54:42 -0400 Subject: [PATCH] X11_Util: Don't specify a background pixel This causes flickering when resizing the window, which looks horrid and we shouldn't do it. --- Source/Core/DolphinWX/GLInterface/X11_Util.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Core/DolphinWX/GLInterface/X11_Util.cpp b/Source/Core/DolphinWX/GLInterface/X11_Util.cpp index 0842a34d65..5c78a7adf8 100644 --- a/Source/Core/DolphinWX/GLInterface/X11_Util.cpp +++ b/Source/Core/DolphinWX/GLInterface/X11_Util.cpp @@ -21,14 +21,12 @@ Window cX11Window::CreateXWindow(Window parent, XVisualInfo *vi) // Setup window attributes attr.colormap = colormap; - attr.background_pixel = BlackPixel(dpy, 0); - attr.border_pixel = 0; // Create the window win = XCreateWindow(dpy, parent, 0, 0, 1, 1, 0, vi->depth, InputOutput, vi->visual, - CWBorderPixel | CWBackPixel | CWColormap, &attr); + CWColormap, &attr); XSelectInput(dpy, parent, StructureNotifyMask); XMapWindow(dpy, win); XSync(dpy, True);