kwo pushed a commit to branch master.

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

commit d23aeb1ca71230b5acdadd2da216d6d27277961a
Author: Kim Woelders <[email protected]>
Date:   Fri Mar 20 20:51:45 2015 +0100

    Fix focus issues with pager zoom windows on desks other than first (T2197).
    
    Change the zoom window parent to be the current desktop in stead of the
    root one.
    Otherwise, when entering the zoom window (on desktops other than first),
    we get an indication that we are leaving the current desktop causing the
    current active window to be unfocused (and refocused when leaving).
---
 src/hiwin.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/hiwin.c b/src/hiwin.c
index 98d4ee0..8df5572 100644
--- a/src/hiwin.c
+++ b/src/hiwin.c
@@ -27,6 +27,7 @@
 
 #include "E.h"
 #include "cursors.h"
+#include "desktops.h"
 #include "eobj.h"
 #include "events.h"
 #include "ewins.h"
@@ -280,6 +281,7 @@ HiwinInit(Hiwin * phi, EWin * ewin)
 #endif
 
    phi->ewin = ewin;
+   EoReparent(phi, EoObj(DesksGetCurrent()), 0, 0);
 
 #if USE_COMPOSITE
    if (phi->ewin)

-- 


Reply via email to