Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ This changelog follows the rules of [Keep a Changelog](http://keepachangelog.com
### :bug: Fixed

- A regression which caused the animation of menu items to be skipped when closing the menu.
- A bug which would make it impossible to open a menu until Kando was restarted after a menu got closed by the window manager (e.g. by pressing <kbd>Alt</kbd>+<kbd>F4</kbd>).
- An issue where the color pickers in the settings dialog would glitch out. Thanks to [@Haruto-works333](https://github.com/Haruto-works333) for this contribution!
- An issue which prevent the menu to open on Niri if no windows were open. Thanks to [@AurelienJt](https://github.com/AurelienJt) for this fix!
- An issue where Kando would not open a menu on Niri if no pointer device was connected. Thanks to [@make-42](https://github.com/make-42) for fixing this!
Expand Down
6 changes: 6 additions & 0 deletions src/main/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,12 @@ export class KandoApp {
},
});
await this.menuWindow.load();

// Make sure that closing the menu window just hides it instead of actually closing it.
this.menuWindow.on('close', (event) => {
event.preventDefault();
this.menuWindow.hide();
});
}

/**
Expand Down
Loading