From 7ba97b36306d4c5dcc68633a57134bbc5d25fff6 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 23 Jan 2008 17:01:39 +0100 Subject: [PATCH] fullscreen respect padding --- ewmh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ewmh.c b/ewmh.c index 0f484bcd7..70b205a6c 100644 --- a/ewmh.c +++ b/ewmh.c @@ -263,7 +263,7 @@ ewmh_process_state_atom(Client *c, Atom state, int set) } 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 */ c->m_geometry = c->geometry; c->wasfloating = c->isfloating;