diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-08 22:30:55 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-08 22:30:55 +0000 |
| commit | 43d109dd062483154f00712a23b00494b0a13355 (patch) | |
| tree | e9f005663fb1d7fd0ac8a03c0821608b1fc9cb8c | |
| parent | ddeb066ed4b112d9e8b1b7941addfea06b5c2a99 (diff) | |
send the configure notify for resizes too, just to be a little more safe
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index 4d1ba85a..6d5893e2 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1769,11 +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 you send this and the client hasn't moved you end up with buggy + /* If you send this and the client hasn't changed 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)) { + if ((moved || resized) && (!user || final)) { XEvent event; event.type = ConfigureNotify; event.xconfigure.display = ob_display; |
