fullscreen respect padding
This commit is contained in:
parent
47b15d883f
commit
7ba97b3630
2
ewmh.c
2
ewmh.c
|
@ -263,7 +263,7 @@ ewmh_process_state_atom(Client *c, Atom state, int set)
|
||||||
}
|
}
|
||||||
else if(set == _NET_WM_STATE_ADD)
|
else if(set == _NET_WM_STATE_ADD)
|
||||||
{
|
{
|
||||||
geometry = get_screen_area(c->screen, NULL, NULL);
|
geometry = get_screen_area(c->screen, NULL, &globalconf.screens[c->screen].padding);
|
||||||
/* save geometry */
|
/* save geometry */
|
||||||
c->m_geometry = c->geometry;
|
c->m_geometry = c->geometry;
|
||||||
c->wasfloating = c->isfloating;
|
c->wasfloating = c->isfloating;
|
||||||
|
|
Loading…
Reference in New Issue