X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=b6899a8ba89f1731ce214581ead5fb0730900a43;hb=122d55fbadea0409fbc902a1740e1c8ff3aecd88;hp=7a1f66e93a40c3ab9807890d2fd3926fcdd84a3b;hpb=59f318e897a301a40fb46fadbc4b825ccf86c0ba;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 7a1f66e9..b6899a8b 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -662,7 +662,7 @@ static void event_handle_client(ObClient *client, XEvent *e) /* are we a fullscreen window or a transient of one? (checks layer) if we are then we need to be iconified since we are losing focus */ - if (client->layer == Layer_Fullscreen && !client->iconic && + if (client->layer == OB_STACKING_LAYER_FULLSCREEN && !client->iconic && !client_search_focus_tree_full(client)) /* iconify fullscreen windows when they and their transients aren't focused */