onlt send configurenotify if the client actually moved, to work around emacs, hopefully :)
Dana Jansens danakj@orodu.net
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -1769,7 +1769,11 @@ if (self->frame) {
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;