|
|
|
@ -129,8 +129,8 @@ static GLboolean createWindow(_GLFWwindow* window, |
|
|
|
|
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
|
|
|
|
|
// 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; |
|
|
|
@ -258,6 +258,9 @@ static GLboolean createWindow(_GLFWwindow* window, |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
// HACK: Explicitly setting PPosition to any value causes some WMs,
|
|
|
|
|
// notably Compiz and Metacity, to honor the position of
|
|
|
|
|
// unmapped windows set by XMoveWindow
|
|
|
|
|
hints->flags |= PPosition; |
|
|
|
|
hints->x = hints->y = 0; |
|
|
|
|
} |
|
|
|
|