From 6b9e1364cfca46410e38fbdc64e5b39c55dab7d6 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Tue, 17 Jan 2023 16:56:27 +0200 Subject: [PATCH] fix: disable exit on unfocus, broken on sway --- src/gandalf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gandalf.rs b/src/gandalf.rs index ecb4519..4988207 100644 --- a/src/gandalf.rs +++ b/src/gandalf.rs @@ -201,7 +201,7 @@ impl Application for Gandalf { modifiers: _, key_code, }) => input::handle(key_code), - Event::Window(window::Event::Unfocused) => Some(Message::Exit), + //Event::Window(window::Event::Unfocused) => Some(Message::Exit), _ => None, }) } -- 2.44.1