aboutsummaryrefslogtreecommitdiffstats
path: root/rofi/usr
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-09-13 21:54:12 -0700
committerGravatar Tom Willemse2018-09-13 21:54:12 -0700
commitcd9f77887e0b7881403a4db0d1d65117cda7b4db (patch)
tree06c19909cf9d8b22f3eb2758e6f2cc1144e091b6 /rofi/usr
parentb4051ffc4d2a532f64d1d35e155b0f59d76db7c8 (diff)
downloadnew-dotfiles-cd9f77887e0b7881403a4db0d1d65117cda7b4db.tar.gz
new-dotfiles-cd9f77887e0b7881403a4db0d1d65117cda7b4db.zip
Raise the window when switching to it
In floating mode jumping to a window doesn’t actually raise it.
Diffstat (limited to 'rofi/usr')
-rwxr-xr-xrofi/usr/bin/hlwm-switch-to-window3
1 files changed, 2 insertions, 1 deletions
diff --git a/rofi/usr/bin/hlwm-switch-to-window b/rofi/usr/bin/hlwm-switch-to-window
index 4a722db..beb4bcc 100755
--- a/rofi/usr/bin/hlwm-switch-to-window
+++ b/rofi/usr/bin/hlwm-switch-to-window
@@ -5,4 +5,5 @@ tag=$(herbstclient attr clients.$winid.tag)
herbstclient chain \
, silent substitute M tags.by-name.$tag.my_monitor focus_monitor M \
, use $tag \
- , jumpto $winid
+ , jumpto $winid \
+ , raise $winid