aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscratchpad2
1 files changed, 2 insertions, 0 deletions
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