only send configurenotify for user-action configures when it moves
authorDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 15:57:46 +0000 (15:57 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 15:57:46 +0000 (15:57 +0000)
openbox/client.c

index ae2a998..92f7a4b 100644 (file)
@@ -2946,7 +2946,8 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
        this. So just to appease Swing, when user = TRUE, we always send
        a synthetic ConfigureNotify to give the window its root coordinates.
     */
-    if ((!user && !resized && (rootmoved || force_reply)) || (user && final))
+    if ((!user && !resized && (rootmoved || force_reply)) ||
+        (user && final && rootmoved))
     {
         XEvent event;