]> Dogcows Code - chaz/openbox/commitdiff
send the configure notify for resizes too, just to be a little more safe
authorDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 22:30:55 +0000 (22:30 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 22:30:55 +0000 (22:30 +0000)
openbox/client.c

index 4d1ba85a6d01f93f4614878616467aa2924849b3..6d5893e244542add42539fe3757cf09a35e7a309 100644 (file)
@@ -1769,11 +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 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
            time they receive this event, which resends them this event... etc.
         */
-        if (moved && (!user || final)) {
+        if ((moved || resized) && (!user || final)) {
             XEvent event;
             event.type = ConfigureNotify;
             event.xconfigure.display = ob_display;
This page took 0.026513 seconds and 4 git commands to generate.