mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
feat(float): allow enabling mouse for non-focusable window (#30844)
Problem: Cannot allow mouse interaction for non-focusable float window. Solution: Add a "mouse" field to float window config.
This commit is contained in:
@@ -938,6 +938,7 @@ typedef struct {
|
||||
FloatRelative relative;
|
||||
bool external;
|
||||
bool focusable;
|
||||
bool mouse;
|
||||
WinSplit split;
|
||||
int zindex;
|
||||
WinStyle style;
|
||||
@@ -964,6 +965,7 @@ typedef struct {
|
||||
.row = 0, .col = 0, .anchor = 0, \
|
||||
.relative = 0, .external = false, \
|
||||
.focusable = true, \
|
||||
.mouse = true, \
|
||||
.split = 0, \
|
||||
.zindex = kZIndexFloatDefault, \
|
||||
.style = kWinStyleUnused, \
|
||||
|
Reference in New Issue
Block a user