summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 87865462..e0dc3f87 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -300,7 +300,8 @@ void client_manage(Window window)
dispatch_client(Event_Client_New, self, 0, 0);
/* make sure the window is visible */
- if (client_normal(self))
+ if (!(self->strut.left || self->strut.right ||
+ self->strut.top || self->strut.bottom))
client_move_onscreen(self, TRUE);
screen_update_areas();