]> Dogcows Code - chaz/openbox/blobdiff - openbox/keyboard.c
s/ob_display/obt_display/ and remove ob_display
[chaz/openbox] / openbox / keyboard.c
index 077262a6e787243075eebce04327e8cf4e1f835a..57565188f8d8de25b463f8ca7fd870a0fab14c19 100644 (file)
@@ -45,20 +45,20 @@ static void grab_keys(gboolean grab)
 {
     KeyBindingTree *p;
 
-    ungrab_all_keys(RootWindow(ob_display, ob_screen));
+    ungrab_all_keys(RootWindow(obt_display, ob_screen));
 
     if (grab) {
         p = curpos ? curpos->first_child : keyboard_firstnode;
         while (p) {
             if (p->key)
-                grab_key(p->key, p->state, RootWindow(ob_display, ob_screen),
+                grab_key(p->key, p->state, RootWindow(obt_display, ob_screen),
                          GrabModeAsync);
             p = p->next_sibling;
         }
         if (curpos)
             grab_key(config_keyboard_reset_keycode,
                      config_keyboard_reset_state,
-                     RootWindow(ob_display, ob_screen), GrabModeAsync);
+                     RootWindow(obt_display, ob_screen), GrabModeAsync);
     }
 }
 
This page took 0.025676 seconds and 4 git commands to generate.