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.
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -1779,7 +1779,7 @@ /* 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 || resized) && (!user || final)) { + if ((!user && moved) || (user && final)) { XEvent event; event.type = ConfigureNotify; event.xconfigure.display = ob_display;@@ -1797,6 +1797,7 @@ event.xconfigure.above = self->frame->plate;
event.xconfigure.override_redirect = FALSE; XSendEvent(event.xconfigure.display, event.xconfigure.window, FALSE, StructureNotifyMask, &event); + g_message ("SENT CONFIG"); } } }