summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-13 15:08:19 +0000
committerDana Jansens <danakj@orodu.net>2007-06-13 15:08:19 +0000
commit07f60c3a38d562f333df9d41453b2fa872f95410 (patch)
tree363bb67d48214c9e94198ea156c3a1e714093594
parent15d615853671b0988b9a87720cac2762c702f28b (diff)
fix moved comment
-rw-r--r--openbox/client.c5
-rw-r--r--openbox/event.c3
2 files changed, 4 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c
index f70ab445..563eb045 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1812,10 +1812,7 @@ void client_reconfigure(ObClient *self, gboolean force)
{
gint x, y, w, h, lw, lh;
- /* 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(self->area, x, y, w, h);
+ RECT_TO_DIMS(self->area, x, y, w, h);
if (!force)
client_try_configure(self, &x, &y, &w, &h, &lw, &lh, FALSE);
if (force || !RECT_EQUAL_DIMS(self->area, x, y, w, h)) {
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);