From: Dana Jansens Date: Tue, 22 Dec 2009 16:39:03 +0000 (-0500) Subject: things are in the same app only if they are in the same layer X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=refs%2Fheads%2Fwip%2Frestack;p=dana%2Fopenbox.git things are in the same app only if they are in the same layer --- 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)