mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
hints fix, reprise???
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@546 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
1cc3eb98cd
commit
077b3dd15f
10
src/x11.c
10
src/x11.c
@ -273,7 +273,7 @@ void init_window(int own_window, int w, int h, int set_trans, int back_colour, c
|
||||
(unsigned char *) &prop, 1);
|
||||
}
|
||||
|
||||
xa = ATOM("_NET_WM_STATE");
|
||||
xa = ATOM(_NET_WM_STATE);
|
||||
if (xa != None) {
|
||||
Atom xa_prop = ATOM(_NET_WM_STATE_BELOW);
|
||||
XChangeProperty(display, window.window, xa,
|
||||
@ -297,7 +297,7 @@ void init_window(int own_window, int w, int h, int set_trans, int back_colour, c
|
||||
(unsigned char *) &prop, 1);
|
||||
}
|
||||
|
||||
xa = ATOM("_NET_WM_STATE");
|
||||
xa = ATOM(_NET_WM_STATE);
|
||||
if (xa != None) {
|
||||
Atom xa_prop = ATOM(_NET_WM_STATE_ABOVE);
|
||||
XChangeProperty(display, window.window, xa,
|
||||
@ -312,7 +312,7 @@ void init_window(int own_window, int w, int h, int set_trans, int back_colour, c
|
||||
if (TEST_HINT(window.hints,HINT_STICKY)) {
|
||||
fprintf(stderr, "Conky: hint - sticky\n"); fflush(stderr);
|
||||
|
||||
xa = ATOM("_NET_WM_STATE");
|
||||
xa = ATOM(_NET_WM_STATE);
|
||||
if (xa != None) {
|
||||
Atom xa_prop = ATOM(_NET_WM_STATE_STICKY);
|
||||
XChangeProperty(display, window.window, xa,
|
||||
@ -327,7 +327,7 @@ void init_window(int own_window, int w, int h, int set_trans, int back_colour, c
|
||||
if (TEST_HINT(window.hints,HINT_SKIP_TASKBAR)) {
|
||||
fprintf(stderr, "Conky: hint - skip_taskbar\n"); fflush(stderr);
|
||||
|
||||
xa = ATOM("_NET_WM_STATE");
|
||||
xa = ATOM(_NET_WM_STATE);
|
||||
if (xa != None) {
|
||||
Atom xa_prop = ATOM(_NET_WM_STATE_SKIP_TASKBAR);
|
||||
XChangeProperty(display, window.window, xa,
|
||||
@ -342,7 +342,7 @@ void init_window(int own_window, int w, int h, int set_trans, int back_colour, c
|
||||
if (TEST_HINT(window.hints,HINT_SKIP_PAGER)) {
|
||||
fprintf(stderr, "Conky: hint - skip_pager\n"); fflush(stderr);
|
||||
|
||||
xa = ATOM("_NET_WM_STATE");
|
||||
xa = ATOM(_NET_WM_STATE);
|
||||
if (xa != None) {
|
||||
Atom xa_prop = ATOM(_NET_WM_STATE_SKIP_PAGER);
|
||||
XChangeProperty(display, window.window, xa,
|
||||
|
Loading…
Reference in New Issue
Block a user