summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/nativewindow_x11.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc
index 1ca7d00..353a371 100644
--- a/plugingui/nativewindow_x11.cc
+++ b/plugingui/nativewindow_x11.cc
@@ -49,8 +49,7 @@ NativeWindowX11::NativeWindowX11(void* native_window, Window& window)
screen = DefaultScreen(display);
- // Get some colors
- int blackColor = BlackPixel(display, screen);
+ int clearColor = 0xbbbbbb;
::Window parentWindow;
if(native_window)
@@ -69,7 +68,7 @@ NativeWindowX11::NativeWindowX11(void* native_window, Window& window)
window.x(), window.y(),
window.width(), window.height(),
border,
- blackColor, blackColor);
+ clearColor, clearColor);
long mask = (StructureNotifyMask |
PointerMotionMask |