]> Dogcows Code - chaz/openbox/blobdiff - openbox/translate.c
s/ob_display/obt_display/ and remove ob_display
[chaz/openbox] / openbox / translate.c
index c697679d1291fd03da7f0837f384ac1475f8e11f..263bffa4614b72ed8945dd291e9666afe659f645 100644 (file)
@@ -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);
 }
This page took 0.021265 seconds and 4 git commands to generate.