diff options
author | okan <okan> | 2014-02-08 02:49:30 +0000 |
---|---|---|
committer | okan <okan> | 2014-02-08 02:49:30 +0000 |
commit | 8ddc90665e293efeb810ce73b871ee6e4f6ce68a (patch) | |
tree | f9420dc05d83dbd934bbb425161603bb0c4b4bb8 /xutil.c | |
parent | 8653141b4b5d76bd7238003cf43034681c7724a4 (diff) | |
parent | 6798e3dde302febeef3aa641eadea55d394461ff (diff) | |
download | cwm-8ddc90665e293efeb810ce73b871ee6e4f6ce68a.tar.gz cwm-8ddc90665e293efeb810ce73b871ee6e4f6ce68a.tar.xz cwm-8ddc90665e293efeb810ce73b871ee6e4f6ce68a.zip |
cvsimport
Diffstat (limited to 'xutil.c')
-rw-r--r-- | xutil.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xutil.c b/xutil.c index 1884d5f..58ee304 100644 --- a/xutil.c +++ b/xutil.c @@ -291,11 +291,7 @@ xu_ewmh_net_desktop_names(struct screen_ctx *sc, char *data, int n) void xu_ewmh_net_wm_desktop(struct client_ctx *cc) { - struct group_ctx *gc = cc->group; - long no = 0xffffffff; - - if (gc) - no = gc->shortcut; + int no = cc->group->shortcut; XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP], XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&no, 1); |