kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=136f37f0b97c6a783da4d20d3898a7d19e1bc66d
commit 136f37f0b97c6a783da4d20d3898a7d19e1bc66d Author: Kim Woelders <k...@woelders.dk> Date: Sun Mar 14 18:39:33 2021 +0100 Focus: Tweak request serial number check logic Too many Enter events were ignored. --- src/focus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/focus.c b/src/focus.c index f2281d0e..cd04b351 100644 --- a/src/focus.c +++ b/src/focus.c @@ -524,6 +524,7 @@ FocusToEWin(EWin * ewin, int why) focus_pending_new = ewin; focus_pending_why = why; focus_pending_ewin = ewin; + focus_request = (int)NextRequest(disp) - 1; break; default: @@ -531,6 +532,7 @@ FocusToEWin(EWin * ewin, int why) break; focus_pending_why = why; focus_pending_ewin = ewin; + focus_request = (int)NextRequest(disp) - 1; break; case FOCUS_EWIN_UNMAP: @@ -547,7 +549,6 @@ FocusToEWin(EWin * ewin, int why) focus_pending_new = NULL; break; } - focus_request = (int)NextRequest(disp) - 1; } static void @@ -559,6 +560,7 @@ FocusSet(void) doFocusToEwin(focus_pending_ewin, focus_pending_why); focus_pending_why = 0; focus_pending_ewin = focus_pending_new = NULL; + focus_request = 0; } void --