summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-13 15:57:46 +0000
committerDana Jansens <danakj@orodu.net>2007-06-13 15:57:46 +0000
commit15e6775b0c17220b81456188757362d131a436c8 (patch)
treeda69abb94d118ea688c4f331b1c4f4a1beae26a2
parent0813e4451d662e2ec162ef70216f641a6ebd93d0 (diff)
only send configurenotify for user-action configures when it moves
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index ae2a9986..92f7a4bb 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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;