From 5f82d1e5dcbe076d2a9ed0c915f9508b98ef363c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 21 Nov 2015 23:38:33 +0100 Subject: [PATCH] Fix hrunorraise Apparently window IDs can also be 6 characters long instead of 7. --- herbstluftwm/usr/bin/hrunorraise | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/herbstluftwm/usr/bin/hrunorraise b/herbstluftwm/usr/bin/hrunorraise index 6e91aa6..b4f8a9a 100755 --- a/herbstluftwm/usr/bin/hrunorraise +++ b/herbstluftwm/usr/bin/hrunorraise @@ -3,7 +3,7 @@ !# (define client-regexp - (rx " " (submatch "0x" (= 7 hex)))) + (rx " " (submatch "0x" (** 6 7 hex)))) (define current-client (run/string (herbstclient -n attr clients.focus.winid)))