summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-24 19:59:46 +0000
committerDana Jansens <danakj@orodu.net>2003-03-24 19:59:46 +0000
commit0d84c43d2a02acf5d2f0159e8cf54fe85f3755cc (patch)
treef80786e195d6c885136e6c90a6ed79c5a78fcd40 /openbox
parent3fb9753fa4a07d4b555dcf48aa59c97211ece4ef (diff)
only configure the engine if something changed
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index b717b914..bebd8949 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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) {