summaryrefslogtreecommitdiff
path: root/openbox/translate.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-26 20:12:39 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:54 -0500
commite2ddfaf9fff1fb9dd6ebdc1a95f2b228d6baedb2 (patch)
tree2cd2c9d4dc7543aaa0ce3f959af539212cedfaaf /openbox/translate.c
parent6c8acc079a9cbb40245e5df4b50b3f8b9c17cf83 (diff)
s/ob_display/obt_display/ and remove ob_display
Diffstat (limited to 'openbox/translate.c')
-rw-r--r--openbox/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/translate.c b/openbox/translate.c
index c697679d..263bffa4 100644
--- a/openbox/translate.c
+++ b/openbox/translate.c
@@ -145,7 +145,7 @@ gboolean translate_key(const gchar *str, guint *state, guint *keycode)
g_message(_("Invalid key name '%s' in key binding"), l);
goto translation_fail;
}
- *keycode = XKeysymToKeycode(ob_display, sym);
+ *keycode = XKeysymToKeycode(obt_display, sym);
}
if (!*keycode) {
g_message(_("Requested key '%s' does not exist on the display"), l);
@@ -164,7 +164,7 @@ gchar *translate_keycode(guint keycode)
KeySym sym;
const gchar *ret = NULL;
- if ((sym = XKeycodeToKeysym(ob_display, keycode, 0)) != NoSymbol)
+ if ((sym = XKeycodeToKeysym(obt_display, keycode, 0)) != NoSymbol)
ret = XKeysymToString(sym);
return g_locale_to_utf8(ret, -1, NULL, NULL, NULL);
}