fix moved comment
This commit is contained in:
parent
15d6158536
commit
07f60c3a38
2 changed files with 4 additions and 4 deletions
|
@ -1812,9 +1812,6 @@ void client_reconfigure(ObClient *self, gboolean force)
|
||||||
{
|
{
|
||||||
gint x, y, w, h, lw, lh;
|
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)
|
if (!force)
|
||||||
client_try_configure(self, &x, &y, &w, &h, &lw, &lh, FALSE);
|
client_try_configure(self, &x, &y, &w, &h, &lw, &lh, FALSE);
|
||||||
|
|
|
@ -1486,6 +1486,9 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
||||||
/* normal hints can make a window non-resizable */
|
/* normal hints can make a window non-resizable */
|
||||||
client_setup_decor_and_functions(client, FALSE);
|
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);
|
client_reconfigure(client, FALSE);
|
||||||
} else if (msgtype == XA_WM_HINTS) {
|
} else if (msgtype == XA_WM_HINTS) {
|
||||||
client_update_wmhints(client);
|
client_update_wmhints(client);
|
||||||
|
|
Loading…
Reference in a new issue