]> Dogcows Code - chaz/openbox/commitdiff
only configure the engine if something changed
authorDana Jansens <danakj@orodu.net>
Mon, 24 Mar 2003 19:59:46 +0000 (19:59 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 24 Mar 2003 19:59:46 +0000 (19:59 +0000)
openbox/client.c

index b717b914f561323ee9fd2f5ebe12b161a3ec8757..bebd8949dc6756167dfee2d88d9a3c1a122b620f 100644 (file)
@@ -1390,7 +1390,8 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h,
 
     /* move/resize the frame to match the request */
     if (self->frame) {
-        engine_frame_adjust_area(self->frame, moved, resized);
+        if (moved || resized)
+            engine_frame_adjust_area(self->frame, moved, resized);
 
        if (moved) {
            if (!user || final) {
This page took 0.025018 seconds and 4 git commands to generate.