summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/x-banish1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/x-banish b/scripts/x-banish
index 0ed16c9..38f2eab 100755
--- a/scripts/x-banish
+++ b/scripts/x-banish
@@ -16,6 +16,7 @@ pid() {
w_id=$( xdotool getwindowfocus )
xdotool windowunmap $w_id
pid "stop" $w_id
+ xdotool windowfocus $( x-window-list | awk '{print $1; exit }' )
exit 0
}