X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=cfa000d009490e7889c03a0ba7d0949a79eea321;hb=07f60c3a38d562f333df9d41453b2fa872f95410;hp=88cccdee41a6357d3c5c2d3ee4eacc79e704bdec;hpb=15d615853671b0988b9a87720cac2762c702f28b;p=chaz%2Fopenbox 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);