X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fkeyboard.c;h=aebee293f760998e2e4abd94db8124421cc66b72;hb=5c01dc651a220ad1ccce9502da577d81f1877388;hp=82d6dfdcdc878bddb3a140802e8397f9f29d51cf;hpb=3b0f41dc66da86aaad4f0343bbfb632c7bbfd0c7;p=chaz%2Fopenbox diff --git a/openbox/keyboard.c b/openbox/keyboard.c index 82d6dfdc..aebee293 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -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; } -