From 122d55fbadea0409fbc902a1740e1c8ff3aecd88 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 17:03:05 +0000 Subject: prefixing and capitalizing the StackLayer -> ObStackingLayer enum. less includes in headers for less rebuilding on changes --- openbox/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/event.c') 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 */ -- cgit v1.2.3