X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=openbox%2Ffocus.c;h=8d5e6c547755654b037779ebedd6cba3c3cc996f;hb=276b2be581c6cb138b439537761ff2ca42201805;hp=8b7eb29a20ca283b9cf9750b8297df806ab07dc5;hpb=bd15aab855a6c62afb7e4b1648714e13d22520ec;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index 8b7eb29a..8d5e6c54 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -111,7 +111,7 @@ void focus_set_client(Client *client) push_to_top(client); /* set the NET_ACTIVE_WINDOW hint, but preserve it on shutdown */ - if (ob_state != State_Exiting) { + if (ob_state != OB_STATE_EXITING) { active = client ? client->window : None; PROP_SET32(ob_root, net_active_window, window, active); } @@ -250,7 +250,7 @@ static void popup_cycle(Client *c, gboolean show) Client *p = c; char *title; - a = screen_physical_area_xinerama(0); + a = screen_physical_area_monitor(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);