]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
use fprintf not g_message in the signal handler. no mallocing allowed.
[chaz/openbox] / openbox / focus.c
index 141fc4746b342a519c66ccbccbcfb8b835267a90..ad18d9748aea81f8a0e18c1893826393790aed05 100644 (file)
@@ -235,8 +235,7 @@ void focus_fallback(FallbackType type)
                 return;
             }
 
-    /* nothing to focus */
-    focus_set_client(NULL);
+    /* nothing to focus, and already set it to none above */
 }
 
 static void popup_cycle(Client *c, gboolean show)
@@ -248,7 +247,7 @@ static void popup_cycle(Client *c, gboolean show)
         Client *p = c;
         char *title;
 
-        a = screen_area(c->desktop);
+        a = screen_physical_area_xinerama(0);
         popup_position(focus_cycle_popup, CenterGravity,
                        a->x + a->width / 2, a->y + a->height / 2);
 /*        popup_size(focus_cycle_popup, a->height/2, a->height/16);
This page took 0.025251 seconds and 4 git commands to generate.