This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit ee2da6a545cfdaadc1d1774fc46891f2b6695479
Author: Kim Woelders <[email protected]>
AuthorDate: Fri Dec 9 15:54:22 2022 +0100
focus: Keep focus when un-fullscreened
With pointer focus modes, when un-fullscreening a focused window, focus
was lost if the pointer landed in another window.
https://git.enlightenment.org/e16/e16/issues/5
---
src/ewin-ops.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/ewin-ops.c b/src/ewin-ops.c
index 75bba92b..1af090f9 100644
--- a/src/ewin-ops.c
+++ b/src/ewin-ops.c
@@ -1307,6 +1307,10 @@ EwinOpFullscreen(EWin * ewin, int source __UNUSED__, int on)
EwinStateUpdate(ewin);
EwinRaise(ewin);
EwinMoveResize(ewin, x, y, w, h, MRF_KEEP_MAXIMIZED);
+
+ /* Keep focus if focused */
+ if (ewin->state.active)
+ FocusToEWin(ewin, FOCUS_SET);
}
HintsSetWindowState(ewin);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.