From 077b3dd15ffb4f90226f2131aaabca66104b96c5 Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Tue, 7 Mar 2006 03:53:45 +0000 Subject: [PATCH] hints fix, reprise??? git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@546 7f574dfc-610e-0410-a909-a81674777703 --- src/x11.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/x11.c b/src/x11.c index f4d5e6fd..c8acd1f1 100644 --- a/src/x11.c +++ b/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,