client: fullscreen do not care about padding
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
528991fae8
commit
46dfccd95f
2
client.c
2
client.c
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue