aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index 25927ec..65d7628 100644
--- a/xevents.c
+++ b/xevents.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: xevents.c,v 1.81 2013/05/20 21:32:00 okan Exp $
+ * $OpenBSD: xevents.c,v 1.82 2013/05/21 00:29:20 okan Exp $
*/
/*
@@ -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