From 716477fc4001ce4fcdb92ae07a19801568492b91 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Jun 2003 17:28:36 +0000 Subject: [PATCH] send teh configure event to client on user-requested final configures even if not moved, cuz usualy the final isnt sent with a change, but just to end the move process. --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index 3849736a..35e0e58a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1779,7 +1779,7 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h, clients (emacs) freaking out, cuz they send back a configure every time they receive this event, which resends them this event... etc. */ - if ((moved || resized) && (!user || final)) { + if ((!user && moved) || (user && final)) { XEvent event; event.type = ConfigureNotify; event.xconfigure.display = ob_display; @@ -1797,6 +1797,7 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h, event.xconfigure.override_redirect = FALSE; XSendEvent(event.xconfigure.display, event.xconfigure.window, FALSE, StructureNotifyMask, &event); + g_message ("SENT CONFIG"); } } } -- 2.39.2