]> Dogcows Code - chaz/openbox/commitdiff
fix for bug introduced in revision 5643. logical size is supposed to be updated only...
authorDana Jansens <danakj@orodu.net>
Fri, 16 Mar 2007 19:14:53 +0000 (19:14 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 16 Mar 2007 19:14:53 +0000 (19:14 +0000)
openbox/client.c

index b49d3ff8654e111027b9cd31e5a1dc5b1d999007..92489827e81cdfa2635529ca5e5d81fca5886c24 100644 (file)
@@ -2389,8 +2389,9 @@ void client_configure_full(ObClient *self, ObCorner anchor,
     client_try_configure(self, anchor, &x, &y, &w, &h,
                          &logicalw, &logicalh, user);
 
-    /* set the logical size */
-    SIZE_SET(self->logical_size, logicalw, logicalh);
+    /* set the logical size if things changed */
+    if (!(w == self->area.width && h == self->area.height))
+        SIZE_SET(self->logical_size, logicalw, logicalh);
 
     /* figure out if we moved or resized or what */
     moved = x != self->area.x || y != self->area.y;
This page took 0.028283 seconds and 4 git commands to generate.