*add* strut_policy = none

git-svn-id: http://tint2.googlecode.com/svn/trunk@395 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-02-20 10:08:56 +00:00
parent 2126b2e47d
commit a58a4d1830
4 changed files with 12 additions and 2 deletions

View File

@@ -433,6 +433,12 @@ void visible_object()
void update_strut(Panel* p)
{
if (panel_strut_policy == STRUT_NONE) {
XDeleteProperty(server.dsp, p->main_win, server.atom._NET_WM_STRUT);
XDeleteProperty(server.dsp, p->main_win, server.atom._NET_WM_STRUT_PARTIAL);
return;
}
// Reserved space
unsigned int d1, screen_width, screen_height;
Window d2;