[hackers] [wmii] Don't map clients on manage_client. Fixes a bug with creation on non-selected view.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat Feb 10 18:34:53 2007

changeset: 1830:31d51d2a274a
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Feb 10 12:29:46 2007 -0500
summary: Don't map clients on manage_client. Fixes a bug with creation on non-selected view.

diff -r 7e8bc3e164d3 -r 31d51d2a274a client.c
--- a/client.c Sat Feb 10 11:53:27 2007 -0500
+++ b/client.c Sat Feb 10 12:29:46 2007 -0500
@@ -78,8 +78,6 @@ manage_client(Client *c) {
         reparent_client(c, c->framewin, c->rect.x, c->rect.y);
         if(!starting)
                 update_views();
- map_client(c);
- XMapWindow(blz.dpy, c->framewin);
         XSync(blz.dpy, False);
         if(c->sel->area->view == screen->sel)
                 focus_client(c, False);
Received on Sat Feb 10 2007 - 18:34:53 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:08 UTC