wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 896f22dec0b8959757f902ce844ec27ed855a527
parent 8fd5ae90bbb77afd5f1367c80b5994529ce0ac86
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Thu, 27 Apr 2006 14:17:18 +0200

mapping clients after update_views()


Diffstat:
cmd/wm/client.c | 4++++
cmd/wm/view.c | 2--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/cmd/wm/client.c b/cmd/wm/client.c @@ -366,6 +366,10 @@ manage_client(Client *c) reparent_client(c, c->framewin, c->rect.x, c->rect.y); update_views(); + map_client(c); + XMapWindow(dpy, c->framewin); + if(c->frame.data[c->sel]->area->view == view.data[sel]) + focus_client(c, False); flush_events(EnterWindowMask); } diff --git a/cmd/wm/view.c b/cmd/wm/view.c @@ -225,8 +225,6 @@ attach_to_view(View *v, Client *c) a = v->area.data[v->sel]; attach_to_area(a, c); v->sel = idx_of_area(a); - map_client(c); - XMapWindow(dpy, c->framewin); } Client *