client: honorsizehints is now default

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-03 20:22:33 +02:00
parent 506a4200c6
commit e0629272b5
2 changed files with 5 additions and 2 deletions

View File

@ -407,8 +407,8 @@ awful.hooks.manage.register(function (c)
-- i.e. put it at the end of others instead of setting it master.
-- awful.client.setslave(c)
-- Honor size hints
c.honorsizehints = true
-- Honor size hints: if you want to drop the gaps between windows, set this to false.
-- c.honorsizehints = false
end)
-- Hook function to execute when arranging the screen

View File

@ -434,6 +434,9 @@ client_manage(xcb_window_t w, xcb_get_geometry_reply_t *wgeom, int screen)
client_setborder(c, wgeom->border_width);
c->icon = ewmh_window_icon_get_reply(ewmh_icon_cookie);
/* we honor size hints by default */
c->honorsizehints = true;
/* update hints */
client_updatesizehints(c);
client_updatewmhints(c);