summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-12 19:14:27 +0000
committerDana Jansens <danakj@orodu.net>2007-06-12 19:14:27 +0000
commit739606e39c218ad2f3cb1412267f73e4f3d49e15 (patch)
tree54e1faf7e08d6469c81f2d71896dce8894322cd8
parent9b5cf4bacf95e93f9f10c7ddc89da03e4908af7c (diff)
comment
-rw-r--r--openbox/event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 12ecdac0..ccf4bb65 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1488,7 +1488,9 @@ static void event_handle_client(ObClient *client, XEvent *e)
/* normal hints can make a window non-resizable */
client_setup_decor_and_functions(client, FALSE);
- /* make sure the client's sizes are within its bounds */
+ /* make sure the client's sizes are within its bounds, but only
+ reconfigure the window if it needs to. emacs will update its
+ normal hints every time it receives a conigurenotify */
RECT_TO_DIMS(client->area, x, y, w, h);
client_try_configure(client, &x, &y, &w, &h, &lw, &lh, FALSE);
if (!RECT_EQUAL_DIMS(client->area, x, y, w, h)) {