From ad96c168386aced17e3fa4859dad1e1e2d80bb57 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 3 Feb 2014 20:20:39 +0000 Subject: Move redundant bits from screen_init (while dealing with existing clients) directly into client_init, performing the X roundtrip only once. With the previous change in maprequest, this moves decision making into one place for creating new clients. --- xevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xevents.c') diff --git a/xevents.c b/xevents.c index 06551e8..cbba674 100644 --- a/xevents.c +++ b/xevents.c @@ -80,7 +80,7 @@ xev_handle_maprequest(XEvent *ee) client_ptrsave(old_cc); if ((cc = client_find(e->window)) == NULL) - cc = client_init(e->window, NULL, 1); + cc = client_init(e->window, NULL); if ((cc != NULL) && ((cc->flags & CLIENT_IGNORE) == 0)) client_ptrwarp(cc); -- cgit 1.4.1