summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-28 09:59:45 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 12:26:22 -0500
commitdc94a241c30484611688a8bfb5515577f017529e (patch)
treed0f1b57905fd6a395dc957de41b38a763ae2de7c
parent33131761db5f9eabb4d97b0c6f147597d6041ac6 (diff)
don't deiconify windows on reconfigure if they cant be iconified directly. stop managing windows in reverse order on restart it messes up the dock among other things
-rw-r--r--openbox/client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbox/client.c b/openbox/client.c
index d2378bf7..ffbe73b0 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1832,16 +1832,16 @@ static void client_change_allowed_actions(ObClient *self)
OBT_PROP_SETA32(self->window, NET_WM_ALLOWED_ACTIONS, ATOM, actions, num);
- /* make sure the window isn't breaking any rules now */
+ /* make sure the window isn't breaking any rules now
+
+ don't check ICONIFY here. just cuz a window can't iconify doesnt mean
+ it can't be iconified with its parent
+ */
if (!(self->functions & OB_CLIENT_FUNC_SHADE) && self->shaded) {
if (self->frame) client_shade(self, FALSE);
else self->shaded = FALSE;
}
- if (!(self->functions & OB_CLIENT_FUNC_ICONIFY) && self->iconic) {
- if (self->frame) client_iconify(self, FALSE, TRUE, FALSE);
- else self->iconic = FALSE;
- }
if (!(self->functions & OB_CLIENT_FUNC_FULLSCREEN) && self->fullscreen) {
if (self->frame) client_fullscreen(self, FALSE);
else self->fullscreen = FALSE;