diff options
author | okan <okan> | 2014-02-03 20:20:39 +0000 |
---|---|---|
committer | okan <okan> | 2014-02-03 20:20:39 +0000 |
commit | ad96c168386aced17e3fa4859dad1e1e2d80bb57 (patch) | |
tree | a559609931d906f63e721bc0c8b1901de7ee47bf /xevents.c | |
parent | ad76995af7e1bbae8ec81dd917def917453c379b (diff) | |
download | cwm-ad96c168386aced17e3fa4859dad1e1e2d80bb57.tar.gz cwm-ad96c168386aced17e3fa4859dad1e1e2d80bb57.tar.xz cwm-ad96c168386aced17e3fa4859dad1e1e2d80bb57.zip |
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.
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |