send the configure notify for resizes too, just to be a little more safe
This commit is contained in:
parent
ddeb066ed4
commit
43d109dd06
1 changed files with 2 additions and 2 deletions
|
@ -1769,11 +1769,11 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h,
|
||||||
if (moved || resized)
|
if (moved || resized)
|
||||||
frame_adjust_area(self->frame, 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
|
clients (emacs) freaking out, cuz they send back a configure every
|
||||||
time they receive this event, which resends them this event... etc.
|
time they receive this event, which resends them this event... etc.
|
||||||
*/
|
*/
|
||||||
if (moved && (!user || final)) {
|
if ((moved || resized) && (!user || final)) {
|
||||||
XEvent event;
|
XEvent event;
|
||||||
event.type = ConfigureNotify;
|
event.type = ConfigureNotify;
|
||||||
event.xconfigure.display = ob_display;
|
event.xconfigure.display = ob_display;
|
||||||
|
|
Loading…
Reference in a new issue