diff options
| author | 2016-08-29 15:28:13 +0200 | |
|---|---|---|
| committer | 2016-08-29 15:28:13 +0200 | |
| commit | ecf3ec65339a624aebddd0127c9e4ecd5c01b619 (patch) | |
| tree | fa5770f0f71b83cc167f16073d42c4b9b4ba53c2 /herbstluftwm/usr/bin | |
| parent | 7aa25f2a5b66759b27f4bb544e1bfffa142a2ce3 (diff) | |
| download | new-dotfiles-ecf3ec65339a624aebddd0127c9e4ecd5c01b619.tar.gz new-dotfiles-ecf3ec65339a624aebddd0127c9e4ecd5c01b619.zip | |
Handle not having an active window
Diffstat (limited to 'herbstluftwm/usr/bin')
| -rwxr-xr-x | herbstluftwm/usr/bin/hlwm-run-or-raise | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/herbstluftwm/usr/bin/hlwm-run-or-raise b/herbstluftwm/usr/bin/hlwm-run-or-raise index a06da24..de2dbe1 100755 --- a/herbstluftwm/usr/bin/hlwm-run-or-raise +++ b/herbstluftwm/usr/bin/hlwm-run-or-raise @@ -14,7 +14,7 @@ (submatch "0x" (+ hex-digit)) "\n")) (match (regexp-search re output))) - (match:substring match 1))) + (and match (match:substring match 1)))) (define (pull-element-to-front elt collection) (if (string= (car collection) elt) |
