kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=1029581f548a24847e86ff75af048d9cc63d3098

commit 1029581f548a24847e86ff75af048d9cc63d3098
Author: Kim Woelders <[email protected]>
Date:   Sun Dec 22 11:28:26 2013 +0100

    Fix OR window registration some more.
    
    Ignore our own windows (with root parent).
---
 src/eobj.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/eobj.c b/src/eobj.c
index 6d45a1d..87dcd2f 100644
--- a/src/eobj.c
+++ b/src/eobj.c
@@ -320,7 +320,12 @@ EobjRegisterOR(Window xwin __UNUSED__, XWindowAttributes * 
pxwa __UNUSED__,
 
    eo = EobjListStackFind(xwin);
    if (eo)
-      goto done;
+     {
+       if (eo->external)
+          goto done;
+       else
+          return eo;
+     }
 
    if (!pxwa)
      {

-- 


Reply via email to