From d4ba00c518128ff7ecb0e1d3eb51fae5e4107154 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Wed, 19 Aug 2009 11:41:01 +0200 Subject: [PATCH] Getinfo: Fix mwfact info bug --- CMakeLists.txt | 2 +- src/ewmh.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a24c117..f554823 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ set(wmfs_src add_executable(wmfs ${wmfs_src}) # Set the version -set(VERSION "WMFS-200907") +set(VERSION "WMFS-200908") # FLAGS set(CFLAGS "-g -Wall -ansi") diff --git a/src/ewmh.c b/src/ewmh.c index 2b9a59b..1fff6cd 100644 --- a/src/ewmh.c +++ b/src/ewmh.c @@ -159,7 +159,7 @@ ewmh_update_current_tag_prop(void) /* Current tag mwfact */ XChangeProperty(dpy, ROOT, net_atom[wmfs_mwfact], XA_STRING, 8, - PropModeReplace, (uchar*)&s, strlen(s)); + PropModeReplace, (uchar*)s, strlen(s)); /* Current nmaster */ XChangeProperty(dpy, ROOT, net_atom[wmfs_nmaster], XA_CARDINAL, 32,