summaryrefslogtreecommitdiff
path: root/obt/display.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-26 21:56:42 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:55 -0500
commit1aac72bc4cfffdd816347d305624b15d0ae2112e (patch)
treebb71ca867bac38c067680788be2de75156d17a27 /obt/display.c
parent2f0e73cf9d20154c5c84b6ea90e658cf44a6f0c4 (diff)
add keyboard.[ch] to libobt. these are for tracking modifier keys, and translating to/from keycodes/keysyms/modmasks (also include a new obt/internal.h for putting functions that are not public)
Diffstat (limited to 'obt/display.c')
-rw-r--r--obt/display.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/obt/display.c b/obt/display.c
index 6993addb..31d690db 100644
--- a/obt/display.c
+++ b/obt/display.c
@@ -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);
}