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:
parent
b6efa12bef
commit
9a1ec1884f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue