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.
This commit is contained in:
parent
0a8fa636cd
commit
716477fc40
1 changed files with 2 additions and 1 deletions
|
@ -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
|
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 || resized) && (!user || final)) {
|
if ((!user && moved) || (user && final)) {
|
||||||
XEvent event;
|
XEvent event;
|
||||||
event.type = ConfigureNotify;
|
event.type = ConfigureNotify;
|
||||||
event.xconfigure.display = ob_display;
|
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;
|
event.xconfigure.override_redirect = FALSE;
|
||||||
XSendEvent(event.xconfigure.display, event.xconfigure.window,
|
XSendEvent(event.xconfigure.display, event.xconfigure.window,
|
||||||
FALSE, StructureNotifyMask, &event);
|
FALSE, StructureNotifyMask, &event);
|
||||||
|
g_message ("SENT CONFIG");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue