summaryrefslogtreecommitdiff
path: root/appl
diff options
context:
space:
mode:
Diffstat (limited to 'appl')
-rw-r--r--appl/wm/wm.b2
1 files changed, 2 insertions, 0 deletions
diff --git a/appl/wm/wm.b b/appl/wm/wm.b
index d2dee3f8..322cd072 100644
--- a/appl/wm/wm.b
+++ b/appl/wm/wm.b
@@ -154,6 +154,8 @@ init(ctxt: ref Draw->Context, argv: list of string)
# if client leaving
if(rc == nil){
c.remove();
+ if(c.stop == nil)
+ break;
if(c == ptrfocus)
ptrfocus = nil;
if(c == kbdfocus)