From 067776e783fc0cb4a731c8ea226c8b6b3c50f053 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 28 Jul 2003 19:56:52 +0000 Subject: base rudeness on if they have a strut or not --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/client.c') 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(); -- cgit v1.2.3