-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. This bug only occurs when 'mousemoveevent' is on 2. Steps to reproduce: - Use mouse to click on a symbol in winbar to open a menu - Close the menu - Move the mouse to an arbitrary position (inside nvim) - Use pick mode to select the same symbol - The menu is opened under the current mouse position instead of under the selected symbol 3. Cause: the menu is created with window configuration relative='mouse' the first time it is opened, so when we open it the second time the window is opened at the mouse position 4. Fix: pass window configurations to dropbar_menu_t:toggle() and dropbar_menu_t:open() to override original configurations if a menu is opened in pick mode
- Loading branch information
bekaboo
committed
Jun 5, 2023
1 parent
35f6bb9
commit 1bee80f
Showing
4 changed files
with
54 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters