From 99c98407c9f203ed197977fd8a469d785c7cf437 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 8 Apr 2014 14:11:18 +0200 Subject: [PATCH] Removed flicker-inducing workaround. Fixes #267. --- README.md | 1 + src/x11_window.c | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 05d338e2..f9a3ff02 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ The following dependencies are needed by the examples and test programs: - [X11] Bugfix: The message type of ICCCM protocol events was not checked - [X11] Bugfix: `glfwDestroyWindow` did not flush the output buffer. - [X11] Bugfix: Window frame interactions were reported as focus events + - [X11] Bugfix: Workaround for legacy Compiz caused flickering during resize ## Contact diff --git a/src/x11_window.c b/src/x11_window.c index 77537a9e..40ed759f 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -182,16 +182,6 @@ static GLboolean createWindow(_GLFWwindow* window, ExposureMask | FocusChangeMask | VisibilityChangeMask | EnterWindowMask | LeaveWindowMask | PropertyChangeMask; - if (wndconfig->monitor == NULL) - { - // HACK: This is a workaround for windows without a background pixel - // not getting any decorations on certain older versions of - // Compiz running on Intel hardware - wa.background_pixel = BlackPixel(_glfw.x11.display, - _glfw.x11.screen); - wamask |= CWBackPixel; - } - _glfwGrabXErrorHandler(); window->x11.handle = XCreateWindow(_glfw.x11.display,