]> Dogcows Code - chaz/openbox/commitdiff
send teh configure event to client on user-requested final configures even if not...
authorDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 17:28:36 +0000 (17:28 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 17:28:36 +0000 (17:28 +0000)
openbox/client.c

index 3849736ad8cbdebc477265e82c3eaa5c26c224d2..35e0e58ad7481d30f0e6a10108992315c4b1332b 100644 (file)
@@ -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
            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 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h,
             event.xconfigure.override_redirect = FALSE;
             XSendEvent(event.xconfigure.display, event.xconfigure.window,
                        FALSE, StructureNotifyMask, &event);
+            g_message ("SENT CONFIG");
        }
     }
 }
This page took 0.028544 seconds and 4 git commands to generate.