summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2010-05-22 22:10:31 +0000
committerokan <okan>2010-05-22 22:10:31 +0000
commit72e6d2d0a9e3f1ac1c2fc52e03648c625b07a49c (patch)
treedd5bd9a49efd4c2b1b28eeac52353fcf22609a23 /calmwm.h
parenta292c96977547511316acc8e20798f7c2b1edb19 (diff)
downloadcwm-72e6d2d0a9e3f1ac1c2fc52e03648c625b07a49c.tar.gz
cwm-72e6d2d0a9e3f1ac1c2fc52e03648c625b07a49c.tar.xz
cwm-72e6d2d0a9e3f1ac1c2fc52e03648c625b07a49c.zip
replace XFetchName() with something more intelligent which attempts to
use the appropriate netwm Atom first, as well as deal with utf8.

slightly different incarnation tested by sthen@ and ajacoutot@ - thanks!

ok oga@
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 173c7cb..abde06e 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -401,7 +401,7 @@ void			 xu_key_grab(Window, int, int);
 void			 xu_key_ungrab(Window, int, int);
 void			 xu_sendmsg(Window, Atom, long);
 int			 xu_getprop(Window, Atom, Atom, long, u_char **);
-char			*xu_getstrprop(struct client_ctx *, Atom atm);
+int			 xu_getstrprop(Window, Atom, char **);
 void			 xu_setstate(struct client_ctx *, int);
 int			 xu_getstate(struct client_ctx *, int *);
 unsigned long		 xu_getcolor(struct screen_ctx *, char *);