-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Enhance: Disable close window shortcut #10096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
andelf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
I just realized that we don't have to override |
|
@sprocketc, how to close only one Logseq window now? ⌘Q quits whole application 🤷♂️ |
Based on this comment, we override the default Window and File menu to disable the close window shortcut on all platforms. This binding seems to annoy a lot of users, and multi-window workflow is not properly supported yet. The menu item itself is preserved.
CmdOrCtrl+Qwill now be the only shortcut that closes the window.CmdOrCtrl+Wis free to be used by plugins or Logseq to dismiss panes etc.Resolves #3967