aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xlib.c b/src/xlib.c
index ebc3a4c..e46e358 100644
--- a/src/xlib.c
+++ b/src/xlib.c
@@ -184,8 +184,8 @@ void backend_init(){
backend_setaspect(1, 1);
gc = XCreateGC(display, window, 0, NULL);
- XMapRaised(display, window);
XSelectInput(display, window, StructureNotifyMask | ExposureMask | KeyPressMask);
+ XMapRaised(display, window);
XFlush(display);
XSetIOErrorHandler(xquit);
XFlush(display);