From 1aac72bc4cfffdd816347d305624b15d0ae2112e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 26 Jul 2007 21:56:42 -0400 Subject: 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) --- obt/display.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'obt/display.c') 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 @@ -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); } -- cgit v1.2.3