Removed flicker-inducing workaround.

Fixes #267.
This commit is contained in:
Camilla Berglund 2014-04-08 14:11:18 +02:00
parent c1ed0b2d5b
commit 99c98407c9
2 changed files with 1 additions and 10 deletions

View File

@ -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: The message type of ICCCM protocol events was not checked
- [X11] Bugfix: `glfwDestroyWindow` did not flush the output buffer. - [X11] Bugfix: `glfwDestroyWindow` did not flush the output buffer.
- [X11] Bugfix: Window frame interactions were reported as focus events - [X11] Bugfix: Window frame interactions were reported as focus events
- [X11] Bugfix: Workaround for legacy Compiz caused flickering during resize
## Contact ## Contact

View File

@ -182,16 +182,6 @@ static GLboolean createWindow(_GLFWwindow* window,
ExposureMask | FocusChangeMask | VisibilityChangeMask | ExposureMask | FocusChangeMask | VisibilityChangeMask |
EnterWindowMask | LeaveWindowMask | PropertyChangeMask; 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(); _glfwGrabXErrorHandler();
window->x11.handle = XCreateWindow(_glfw.x11.display, window->x11.handle = XCreateWindow(_glfw.x11.display,