summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 88cccdee..cfa000d0 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1486,6 +1486,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, but only
+ reconfigure the window if it needs to. emacs will update its
+ normal hints every time it receives a conigurenotify */
client_reconfigure(client, FALSE);
} else if (msgtype == XA_WM_HINTS) {
client_update_wmhints(client);