Onur Kucuk wrote:
I have just switched from pre7 to pre8 and am having a problem.

When I have the "Focus Follows Mouse Click" set, for example I start
an Eterm window and execute gqview inside it, gqview pops up. While
gqview has the focus, I close it and the focus does not return back
to Eterm. At this point the keyboard becomes useless, things like pressing "alt-tab" (to change to an open window) or "alt-shift-cursor_key" (to move around the virtual screen) does nothing.


The attached patch should revert the click-to-focus behavior to the pre7
one. I also think it re-introduces a potential (but unlikely) segfault.
Please let me know if the patch brings back the desired click-to-focus
behavior.

I cannot reproduce losing the keyboard (Alt-Tab always works fine for me).
Can you provide exact steps to reproduce this?
What is the enlightenment process state at this point?

/Kim
diff -w -rud -X excl.list e16-cvs.org/e/src/borders.c e16-cvs.work/e/src/borders.c
--- e16-cvs.org/e/src/borders.c 2003-09-28 21:55:05.000000000 +0200
+++ e16-cvs.work/e/src/borders.c        2003-10-22 22:25:37.000000000 +0200
@@ -1577,7 +1577,7 @@
 #if 0                          /* Clean up if OK -- Remove FocusToNone */
        FocusToNone();
 #else
-       mode.focuswin = NULL;
+//     mode.focuswin = NULL;
        FocusToEWin(NULL);
 #endif
      }

Reply via email to