From cd9f77887e0b7881403a4db0d1d65117cda7b4db Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 13 Sep 2018 21:54:12 -0700 Subject: [PATCH] Raise the window when switching to it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In floating mode jumping to a window doesn’t actually raise it. --- rofi/usr/bin/hlwm-switch-to-window | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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