X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=ad18d9748aea81f8a0e18c1893826393790aed05;hb=1ff042579e2cbe367807ed6c8a15e71dfae2a526;hp=141fc4746b342a519c66ccbccbcfb8b835267a90;hpb=8a1fa6d3ac47eba3e781463aec131cf401a29ec2;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index 141fc474..ad18d974 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -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);