X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=8c8abee73ea2fb58572e4ef5a910550ec04c3420;hb=0064695d59a558b3b2444418b68a4c9c89956d79;hp=d50388e775f624421bc502cb1fc1e3c1ea4b0c2a;hpb=f0e5332b4ae5504f167d75e853c13e6f718ce70a;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index d50388e7..8c8abee7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1599,10 +1599,15 @@ void client_setup_decor_and_functions(ObClient *self) self->functions &= ~(OB_CLIENT_FUNC_ICONIFY | OB_CLIENT_FUNC_RESIZE); break; + case OB_CLIENT_TYPE_SPLASH: + /* these don't get get any decorations, and the only thing you can + do with them is move them */ + self->decorations = 0; + self->functions = OB_CLIENT_FUNC_MOVE; + case OB_CLIENT_TYPE_DESKTOP: case OB_CLIENT_TYPE_DOCK: - case OB_CLIENT_TYPE_SPLASH: - /* none of these windows are manipulated by the window manager */ + /* these windows are not manipulated by the window manager */ self->decorations = 0; self->functions = 0; break; @@ -2814,7 +2819,9 @@ static void client_iconify_recursive(ObClient *self, self->window); if (iconic) { - if (self->functions & OB_CLIENT_FUNC_ICONIFY) { + /* don't let non-normal windows iconify along with their parents + or whatever */ + if (client_normal(self)) { self->iconic = iconic; /* update the focus lists.. iconic windows go to the bottom of