projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580c2c8
)
EWMH sticky
author
Philip Kovacs
<pkovacs@users.sourceforge.net>
Tue, 7 Mar 2006 05:55:23 +0000
(
05:55
+0000)
committer
Philip Kovacs
<pkovacs@users.sourceforge.net>
Tue, 7 Mar 2006 05:55:23 +0000
(
05:55
+0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@551
7f574dfc
-610e-0410-a909-
a81674777703
src/x11.c
patch
|
blob
|
history
diff --git
a/src/x11.c
b/src/x11.c
index
8cb4ed5
..
341fc12
100644
(file)
--- a/
src/x11.c
+++ b/
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 */