summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_x11.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-11-26 18:58:14 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-01-21 14:51:30 +0100
commit29639f5b6da42fc976c883351ef508020f821b59 (patch)
tree5e80827063a09d983158ff8e9ad507a2b7b6e6b5 /plugingui/nativewindow_x11.cc
parent586fac8e8daa7665302b075f900d8d2df90716f9 (diff)
New MainWindow.
Diffstat (limited to 'plugingui/nativewindow_x11.cc')
-rw-r--r--plugingui/nativewindow_x11.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc
index b579fb3..5d239ea 100644
--- a/plugingui/nativewindow_x11.cc
+++ b/plugingui/nativewindow_x11.cc
@@ -89,9 +89,6 @@ NativeWindowX11::NativeWindowX11(void* native_window, Window& window)
int count = sizeof(protocols)/sizeof(Atom);
XSetWMProtocols(display, xwindow, protocols, count);
- // "Map" the window (that is, make it appear on the screen)
- XMapWindow(display, xwindow);
-
// Create a "Graphics Context"
gc = XCreateGC(display, xwindow, 0, nullptr);
}