Hi, All.

DWM remember which client was focused lat. When I close my current
window by modkey+shift+c, focus folow to previous active, but client
dont move to master area. Its not useful.
How can I change dwm source to work it properly?

I have changed dwm.c, but this not the best.

diff -ur dwm-4.7/dwm.c dwm-4.7_gin/dwm.c
--- dwm-4.7/dwm.c       2007-11-21 23:18:41.000000000 +0300
+++ dwm-4.7_gin/dwm.c   2007-12-21 16:49:27.000000000 +0300
@@ -988,6 +988,8 @@
        }
        else
                XKillClient(dpy, sel->win);
+       focusnext(NULL);
+       zoom(NULL);
 }

 void

Reply via email to