From 414262df816af403384248ca27bd43f349bbec08 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 22 Dec 2009 11:39:03 -0500 Subject: [PATCH] things are in the same app only if they are in the same layer --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index 434e4738..9a406cdd 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3520,7 +3520,8 @@ gboolean client_is_in_application(ObClient *self, ObClient *app) (self->desktop == DESKTOP_ALL && app->desktop == screen_desktop) || (app->desktop == DESKTOP_ALL && - self->desktop == screen_desktop)); + self->desktop == screen_desktop)) && + self->layer == app->layer; } gboolean client_is_direct_child(ObClient *parent, ObClient *child) -- 2.34.1