aboutsummaryrefslogtreecommitdiffstats
path: root/xutil.c
diff options
context:
space:
mode:
authorokan2015-08-27 18:53:14 +0000
committerokan2015-08-27 18:53:14 +0000
commit07ffeaed1ad42b2ac5e308753808ce031c1b234c (patch)
treee5107b4e28e10824f429118f7774d6732c98e93c /xutil.c
parentf29c717f7e0d4e9065f819e0ec7c7517cefdf69d (diff)
downloadcwm-07ffeaed1ad42b2ac5e308753808ce031c1b234c.tar.gz
Mechanical change: group->gc
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xutil.c b/xutil.c
index c833619..c8c74da 100644
--- a/xutil.c
+++ b/xutil.c
@@ -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.
*
- * $OpenBSD: xutil.c,v 1.102 2015/08/24 15:42:57 okan Exp $
+ * $OpenBSD: xutil.c,v 1.103 2015/08/27 18:53:15 okan Exp $
*/
#include <sys/types.h>
@@ -362,8 +362,8 @@ xu_ewmh_net_wm_desktop(struct client_ctx *cc)
{
long num = 0xffffffff;
- if (cc->group)
- num = cc->group->num;
+ if (cc->gc)
+ num = cc->gc->num;
XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP],
XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&num, 1);