From af06ac08098b840932b705ed4526a1fb583f24a2 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 28 May 2024 16:02:06 -0700 Subject: [PATCH] Add a workaround for alt-d-s not working right after login This broke the KDE app start/stop test. We need to click on the desktop before alt-d-s will work, for some reason. Signed-off-by: Adam Williamson --- lib/utils.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index 7a1318aa..7b6ac366 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1604,6 +1604,10 @@ sub register_application { sub solidify_wallpaper { my $desktop = get_var("DESKTOP"); if ($desktop eq "kde") { + # FIXME: since Plasma 6.0.90, we have to click on the desktop + # once to make this work + # https://bugs.kde.org/show_bug.cgi?id=487715 + mouse_click; # Run the Desktop settings hold_key 'alt'; send_key 'd';