]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
onlt send configurenotify if the client actually moved, to work around emacs, hopeful...
[chaz/openbox] / openbox / client.c
index ec075b4c3c5e70f3d0dec3ddf92c3f457f53bc80..4d1ba85a6d01f93f4614878616467aa2924849b3 100644 (file)
@@ -1769,7 +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 (!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;
This page took 0.020553 seconds and 4 git commands to generate.