From 8a70adb0c9439e853b0688eecfa1c041c2e20598 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 22 May 2010 22:10:31 +0000 Subject: 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@ --- calmwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index f990208..45bf772 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.h,v 1.117 2010/04/11 16:51:26 okan Exp $ + * $Id: calmwm.h,v 1.118 2010/05/22 22:10:31 okan Exp $ */ #ifndef _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 *); -- cgit v1.2.3-2-gb3c3