client: fullscreen do not care about padding

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-03 19:48:33 +01:00
parent 528991fae8
commit 46dfccd95f
2 changed files with 2 additions and 2 deletions

View File

@ -677,7 +677,7 @@ client_setfullscreen(client_t *c, bool s)
/* become fullscreen! */
if((c->isfullscreen = s))
{
geometry = screen_area_get(c->screen, NULL, &globalconf.screens[c->screen].padding, false);
geometry = screen_area_get(c->screen, NULL, NULL, false);
c->m_geometry = c->geometry;
c->oldborder = c->border;
client_setborder(c, 0);

View File

@ -32,7 +32,7 @@ layout_fmax(int screen, bool fs)
client_t *c;
area_t area = screen_area_get(screen,
fs ? NULL : &globalconf.screens[screen].wiboxes,
&globalconf.screens[screen].padding,
fs ? NULL : &globalconf.screens[screen].padding,
true);
for(c = globalconf.clients; c; c = c->next)