client: honorsizehints is now default
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
506a4200c6
commit
e0629272b5
|
@ -407,8 +407,8 @@ awful.hooks.manage.register(function (c)
|
||||||
-- i.e. put it at the end of others instead of setting it master.
|
-- i.e. put it at the end of others instead of setting it master.
|
||||||
-- awful.client.setslave(c)
|
-- awful.client.setslave(c)
|
||||||
|
|
||||||
-- Honor size hints
|
-- Honor size hints: if you want to drop the gaps between windows, set this to false.
|
||||||
c.honorsizehints = true
|
-- c.honorsizehints = false
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Hook function to execute when arranging the screen
|
-- Hook function to execute when arranging the screen
|
||||||
|
|
3
client.c
3
client.c
|
@ -434,6 +434,9 @@ client_manage(xcb_window_t w, xcb_get_geometry_reply_t *wgeom, int screen)
|
||||||
client_setborder(c, wgeom->border_width);
|
client_setborder(c, wgeom->border_width);
|
||||||
c->icon = ewmh_window_icon_get_reply(ewmh_icon_cookie);
|
c->icon = ewmh_window_icon_get_reply(ewmh_icon_cookie);
|
||||||
|
|
||||||
|
/* we honor size hints by default */
|
||||||
|
c->honorsizehints = true;
|
||||||
|
|
||||||
/* update hints */
|
/* update hints */
|
||||||
client_updatesizehints(c);
|
client_updatesizehints(c);
|
||||||
client_updatewmhints(c);
|
client_updatewmhints(c);
|
||||||
|
|
Loading…
Reference in New Issue