Fix issue 455 (tint2 places itself in dock even with panel_dock = 0)

git-svn-id: http://tint2.googlecode.com/svn/trunk@664 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000 2015-01-22 12:03:31 +00:00 committed by mrovi9000@gmail.com
parent b6efa12bef
commit 9a1ec1884f

View file

@ -426,7 +426,7 @@ void set_panel_properties(Panel *p)
}
// Dock
long val = server.atom._NET_WM_WINDOW_TYPE_DOCK;
long val = panel_dock ? server.atom._NET_WM_WINDOW_TYPE_DOCK : server.atom._NET_WM_WINDOW_TYPE_NORMAL;
XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (unsigned char *) &val, 1);
// Sticky and below other window