From 74ff3668631ec39c3e4e1d3bcc11785d08607d54 Mon Sep 17 00:00:00 2001 From: Stavros Ntentos <133706+stdedos@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:33:14 +0200 Subject: [PATCH] `test_create_and_remove_desktop`: Revert original focus When using `current_desktop.go()`, in 18363, the focus is not restored to the original window Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com> --- tests/test_desktop_functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_desktop_functions.py b/tests/test_desktop_functions.py index 2a97137..f012abd 100644 --- a/tests/test_desktop_functions.py +++ b/tests/test_desktop_functions.py @@ -95,6 +95,7 @@ def test_create_and_remove_desktop(): time.sleep(1) # Got to wait for the animation before we can return current_desktop.go() + current_window.set_focus() @pytest.mark.xfail(