]> Dogcows Code - chaz/openbox/blobdiff - openbox/keyboard.c
Get the session client id from new gnome-session
[chaz/openbox] / openbox / keyboard.c
index 82d6dfdcdc878bddb3a140802e8397f9f29d51cf..aebee293f760998e2e4abd94db8124421cc66b72 100644 (file)
@@ -91,7 +91,7 @@ static void set_curpos(KeyBindingTree *newpos)
             g_free(oldtext);
         }
 
-        a = screen_physical_area_active();
+        a = screen_physical_area_primary();
         popup_position(popup, NorthWestGravity, a->x + 10, a->y + 10);
         /* 1 second delay for the popup to show */
         popup_delay_show(popup, G_USEC_PER_SEC, text);
@@ -279,7 +279,6 @@ static void node_rebind(KeyBindingTree *node)
     }
     else {
         /* for leaf nodes, rebind each action assigned to it */
-        GSList *it;
         while (node->actions) {
             /* add each action, and remove them from the original tree so
                they don't get free'd on us */
@@ -325,4 +324,3 @@ void keyboard_shutdown(gboolean reconfig)
     popup_free(popup);
     popup = NULL;
 }
-
This page took 0.025159 seconds and 4 git commands to generate.