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,