From 5f1937a157c07895b25f37a6cf2273529552c637 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Fri, 21 Mar 2025 16:08:29 -0300 Subject: [PATCH] :recycle: ags(logout-menu): hide window directly instead of hiding by shell cli --- ags/window/LogoutMenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ags/window/LogoutMenu.ts b/ags/window/LogoutMenu.ts index cd1aa7a..8908951 100644 --- a/ags/window/LogoutMenu.ts +++ b/ags/window/LogoutMenu.ts @@ -16,7 +16,7 @@ export const LogoutMenu: Widget.Window = new Widget.Window({ visible: false, onKeyPressEvent: (_, event: Gdk.Event) => { event.get_keyval()[1] === Gdk.KEY_Escape && - execAsync("astal close logout-menu") + _.hide(); }, child: new Widget.EventBox({ className: "logout-menu",