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:
parent
580c2c8f34
commit
4df5f91016
10
src/x11.c
10
src/x11.c
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user