1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 00:58:36 +00:00

EWMH sticky

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@551 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2006-03-07 05:55:23 +00:00
parent 580c2c8f34
commit 4df5f91016

View File

@ -321,6 +321,16 @@ void init_window(int own_window, int w, int h, int set_trans, int back_colour, c
(unsigned char *) &xa_prop,
1);
}
xa = ATOM(_NET_WM_STATE);
if (xa != None) {
Atom xa_prop = ATOM(_NET_WM_STATE_STICKY);
XChangeProperty(display, window.window, xa,
XA_ATOM, 32,
PropModeAppend,
(unsigned char *) &xa_prop,
1);
}
}
/* Skip taskbar */