diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-21 17:28:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-21 17:28:36 +0000 |
| commit | 716477fc4001ce4fcdb92ae07a19801568492b91 (patch) | |
| tree | 4d367864b99fa1611a7a2849cecb1d36d705776c /openbox | |
| parent | 0a8fa636cd659b87af1b6dc8720c91d4f02de73d (diff) | |
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.
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); } } } |
