summaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-11-21 23:38:33 +0100
committerGravatar Tom Willemse2015-11-21 23:38:33 +0100
commit5f82d1e5dcbe076d2a9ed0c915f9508b98ef363c (patch)
tree20cc508958e6ae8d834d6a13096599efc831e9ca /herbstluftwm
parent311bbce4bfdf23ed9ca8747e94107966c672cf02 (diff)
downloaddotfiles-5f82d1e5dcbe076d2a9ed0c915f9508b98ef363c.tar.gz
dotfiles-5f82d1e5dcbe076d2a9ed0c915f9508b98ef363c.zip
Fix hrunorraise
Apparently window IDs can also be 6 characters long instead of 7.
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/usr/bin/hrunorraise2
1 files changed, 1 insertions, 1 deletions
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)))