diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-08 22:28:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-08 22:28:32 +0000 |
| commit | ddeb066ed4b112d9e8b1b7941addfea06b5c2a99 (patch) | |
| tree | a59b94c14e4948bf4de330b73335723ede87a31f /openbox/client.c | |
| parent | 05e52e3c8e7d694b2ec977279655d467db4c07c6 (diff) | |
onlt send configurenotify if the client actually moved, to work around emacs, hopefully :)
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index ec075b4c..4d1ba85a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1769,7 +1769,11 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h, if (moved || resized) frame_adjust_area(self->frame, moved, resized); - if (!user || final) { + /* If you send this and the client hasn't moved you end up with buggy + clients (emacs) freaking out, cuz they send back a configure every + time they receive this event, which resends them this event... etc. + */ + if (moved && (!user || final)) { XEvent event; event.type = ConfigureNotify; event.xconfigure.display = ob_display; |
