diff options
author | okan | 2013-07-15 23:51:59 +0000 |
---|---|---|
committer | okan | 2013-07-15 23:51:59 +0000 |
commit | 70bc290910a7e56dfab0964126616ef9ac5192a8 (patch) | |
tree | 0ccf279ba385566418b69ab06d3e5cf3957e15f2 /xevents.c | |
parent | b048dc85890003b1b2048f6b6ba9733e578d6478 (diff) | |
download | cwm-70bc290910a7e56dfab0964126616ef9ac5192a8.tar.gz |
collapse lines
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 12 |
1 files changed, 5 insertions, 7 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.89 2013/07/15 14:50:44 okan Exp $ + * $OpenBSD: xevents.c,v 1.90 2013/07/15 23:51:59 okan Exp $ */ /* @@ -348,22 +348,20 @@ xev_handle_clientmessage(XEvent *ee) if ((cc = client_find(e->window)) == NULL) return; - if (e->message_type == cwmh[WM_CHANGE_STATE] && - e->format == 32 && e->data.l[0] == IconicState) + if (e->message_type == cwmh[WM_CHANGE_STATE] && e->format == 32 && + e->data.l[0] == IconicState) client_hide(cc); if (e->message_type == ewmh[_NET_CLOSE_WINDOW]) client_send_delete(cc); - if (e->message_type == ewmh[_NET_ACTIVE_WINDOW] && - e->format == 32) { + if (e->message_type == ewmh[_NET_ACTIVE_WINDOW] && e->format == 32) { old_cc = client_current(); if (old_cc) client_ptrsave(old_cc); client_ptrwarp(cc); } - if (e->message_type == ewmh[_NET_WM_STATE] && - e->format == 32) + if (e->message_type == ewmh[_NET_WM_STATE] && e->format == 32) xu_ewmh_handle_net_wm_state_msg(cc, e->data.l[0], e->data.l[1], e->data.l[2]); } |