about summary refs log tree commit diff
path: root/xevents.c
diff options
context:
space:
mode:
authorokan <okan>2013-05-21 00:29:20 +0000
committerokan <okan>2013-05-21 00:29:20 +0000
commit421bf22ac7a165f0f4d5608ffa22c887ff857d53 (patch)
tree10a4b2aac13d42ef16e8296c1ef72dcba27f2dea /xevents.c
parentc2042cd5238e74bcc3763a1e90917425eb41964e (diff)
downloadcwm-421bf22ac7a165f0f4d5608ffa22c887ff857d53.tar.gz
cwm-421bf22ac7a165f0f4d5608ffa22c887ff857d53.tar.xz
cwm-421bf22ac7a165f0f4d5608ffa22c887ff857d53.zip
handle _NET_WM_STATE ClientMessage; from Alexander Polakov.
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xevents.c b/xevents.c
index b13548b..1c6ffaf 100644
--- a/xevents.c
+++ b/xevents.c
@@ -359,6 +359,10 @@ xev_handle_clientmessage(XEvent *ee)
 			client_ptrsave(old_cc);
 		client_ptrwarp(cc);
 	}
+	if (e->message_type == ewmh[_NET_WM_STATE].atom &&
+	    e->format == 32)
+		xu_ewmh_handle_net_wm_state_msg(cc,
+		    e->data.l[0], e->data.l[1], e->data.l[2]);
 }
 
 static void