From: Dana Jansens Date: Sat, 21 Jun 2003 17:28:36 +0000 (+0000) Subject: send teh configure event to client on user-requested final configures even if not... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=716477fc4001ce4fcdb92ae07a19801568492b91;p=chaz%2Fopenbox 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. --- 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"); } } }