make client_reconfigure a non-user-type client_configure
authorDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 18:29:42 +0000 (18:29 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 18:29:42 +0000 (18:29 +0000)
openbox/client.c

index c0f3d01..a5c29a3 100644 (file)
@@ -1091,8 +1091,11 @@ static void client_change_allowed_actions(Client *self)
 
 void client_reconfigure(Client *self)
 {
+    /* by making this pass FALSE for user, we avoid the emacs event storm where
+       every configurenotify causes an update in its normal hints, i think this
+       is generally what we want anyways... */
     client_configure(self, Corner_TopLeft, self->area.x, self->area.y,
-                     self->area.width, self->area.height, TRUE, TRUE);
+                     self->area.width, self->area.height, FALSE, TRUE);
 }
 
 void client_update_wmhints(Client *self)