fullscreen respect padding

This commit is contained in:
Julien Danjou 2008-01-23 17:01:39 +01:00
parent 47b15d883f
commit 7ba97b3630
1 changed files with 1 additions and 1 deletions

2
ewmh.c
View File

@ -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;