From 3715d3531bbc8318c9550f9900cef7199e8ce3df Mon Sep 17 00:00:00 2001 From: srdusr Date: Sun, 23 Jun 2024 18:48:06 +0200 Subject: Enable focus in wayland --- scratchpad | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scratchpad b/scratchpad index 8a1aea0..430e71e 100755 --- a/scratchpad +++ b/scratchpad @@ -60,5 +60,7 @@ if [ "$id" != "" ]; then # Scratchpad is hidden, show it and restore dimensions xdo show "$id" xdotool windowsize "$id" "$(echo "$dimensions" | tr ';' ' ')" 2>/dev/null + xdotool windowactivate "$id" + xdotool windowfocus "$id" fi fi -- cgit v1.2.3