kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=5e836ea0019694c16371be77e875c352063de937

commit 5e836ea0019694c16371be77e875c352063de937
Author: Kim Woelders <k...@woelders.dk>
Date:   Sat Mar 3 14:07:52 2018 +0100

    On window mode exit close/kill windows instead of reparent to root
---
 src/ewins.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/ewins.c b/src/ewins.c
index caf89666..cd3ee175 100644
--- a/src/ewins.c
+++ b/src/ewins.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
- * Copyright (C) 2004-2015 Kim Woelders
+ * Copyright (C) 2004-2018 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -2320,8 +2320,11 @@ EwinsSetFree(void)
 
        /* This makes E determine the client window stacking at exit */
        EwinInstantUnShade(ewin);
-       EReparentWindow(EwinGetClientWin(ewin), RROOT,
-                       ewin->client.x, ewin->client.y);
+       if (Mode.wm.window)
+          ICCCM_Delete(ewin);
+       else
+          EReparentWindow(EwinGetClientWin(ewin), RROOT,
+                          ewin->client.x, ewin->client.y);
      }
 }
 

-- 


Reply via email to