diff options
Diffstat (limited to 'gnu/packages/axoloti.scm')
-rw-r--r-- | gnu/packages/axoloti.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/axoloti.scm b/gnu/packages/axoloti.scm index 75087359fd..3b554f05ee 100644 --- a/gnu/packages/axoloti.scm +++ b/gnu/packages/axoloti.scm @@ -515,6 +515,13 @@ This package provides the runtime.") #:phases #~(modify-phases %standard-phases (delete 'configure) + (add-after 'unpack 'patch-for-tiling-window-managers + (lambda _ + ;; On tiling window managers like Niri the focus lost event will + ;; always close the window, even when focus has not actually + ;; been lost. + (substitute* "src/main/java/axoloti/ObjectSearchFrame.java" + (("formWindowLostFocus\\(evt\\)") "return")))) (replace 'build (lambda* (#:key inputs #:allow-other-keys) (setenv "JAVA_HOME" |