From e2ddfaf9fff1fb9dd6ebdc1a95f2b228d6baedb2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 26 Jul 2007 20:12:39 -0400 Subject: s/ob_display/obt_display/ and remove ob_display --- openbox/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/translate.c') 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); } -- cgit v1.2.3