From baa82ac867d5c1115341364b8cc23d8cd6aff50b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 17 Jun 2008 22:14:14 +0200 Subject: [PATCH] ewmh: cosmetic Signed-off-by: Julien Danjou --- ewmh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ewmh.c b/ewmh.c index ffcacfc7..74fb18e7 100644 --- a/ewmh.c +++ b/ewmh.c @@ -477,8 +477,7 @@ ewmh_process_client_message(xcb_client_message_event_t *ev) if(ev->window == xutil_screen_get(globalconf.connection, screen)->root) tag_view_only_byindex(screen, ev->data.data32[0]); } - - if(ev->type == net_close_window) + else if(ev->type == net_close_window) { if((c = client_getbywin(ev->window))) client_kill(c);