]> Dogcows Code - chaz/openbox/blobdiff - obt/display.c
add keyboard.[ch] to libobt. these are for tracking modifier keys, and translating...
[chaz/openbox] / obt / display.c
index 6993addb1d449c65d3c11cd66a4a0cf01f315ebe..31d690db675907312b34f7e2c521cdd63c63880e 100644 (file)
@@ -18,6 +18,8 @@
 
 #include "obt/display.h"
 #include "obt/prop.h"
+#include "obt/internal.h"
+#include "obt/keyboard.h"
 
 #ifdef HAVE_STRING_H
 #  include <string.h>
@@ -108,6 +110,7 @@ gboolean obt_display_open(const char *display_name)
 #endif
 
         obt_prop_startup();
+        obt_keyboard_reload();
     }
     g_free(n);
 
@@ -116,6 +119,7 @@ gboolean obt_display_open(const char *display_name)
 
 void obt_display_close()
 {
+    obt_keyboard_shutdown();
     if (obt_display) XCloseDisplay(obt_display);
 }
 
This page took 0.021202 seconds and 4 git commands to generate.