mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 05:28:32 +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,
|
(unsigned char *) &xa_prop,
|
||||||
1);
|
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 */
|
/* Skip taskbar */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user