diff options
author | okan | 2013-05-21 00:29:20 +0000 |
---|---|---|
committer | okan | 2013-05-21 00:29:20 +0000 |
commit | 976a0161becef40cda31090ffd17a12442905b0c (patch) | |
tree | 4147904636ec18f7e13e8408b7c9546c952f2043 /xevents.c | |
parent | 11ee162b7549c7340e9e3514589488aa6abb24cc (diff) | |
download | cwm-976a0161becef40cda31090ffd17a12442905b0c.tar.gz |
handle _NET_WM_STATE ClientMessage; from Alexander Polakov.
Diffstat (limited to '')
-rw-r--r-- | xevents.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |