widget: fix rendering with borders

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-07-29 12:08:08 +02:00
parent c9caededca
commit df0e734cee
1 changed files with 0 additions and 2 deletions

View File

@ -165,8 +165,6 @@ widget_geometries(wibox_t *wibox)
geometry.height = geometry.width; geometry.height = geometry.width;
geometry.width = i; geometry.width = i;
} }
geometry.height -= 2 * wibox->border.width;
geometry.width -= 2 * wibox->border.width;
luaA_pusharea(globalconf.L, geometry); luaA_pusharea(globalconf.L, geometry);
/* Re-push 2nd argument: widget table */ /* Re-push 2nd argument: widget table */
lua_pushvalue(globalconf.L, -3); lua_pushvalue(globalconf.L, -3);