From 6dd3ee7271d1c90de8f516e32263f2da7caac4b3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Jun 2003 19:19:06 +0000 Subject: [PATCH] check to make sure the window is on screen *after* positioning it --- openbox/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/client.c b/openbox/client.c index 87cdba96..20bcf067 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -290,11 +290,11 @@ void client_manage(Window window) screen_update_struts(); + dispatch_client(Event_Client_New, self, 0, 0); + /* make sure the window is visible */ client_move_onscreen(self); - dispatch_client(Event_Client_New, self, 0, 0); - client_showhide(self); if (activate) client_activate(self); -- 2.44.0