💥 ags(popup-window, ask-popup): fix unexpected behaviors, removed onClose() and closeAction() support

This commit is contained in:
retrozinndev
2025-04-16 19:44:18 -03:00
parent cc043e4e55
commit 5376eb6576
7 changed files with 39 additions and 45 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export const LogoutMenu = (mon: number) => new Widget.Window({
monitor: mon,
onKeyPressEvent: (_, event: Gdk.Event) => {
event.get_keyval()[1] === Gdk.KEY_Escape &&
_.hide();
_.close();
},
child: new Widget.EventBox({
className: "logout-menu",