patch 8.1.1520: popup windows are ignored when dealing with mouse position
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
diff --git a/src/structs.h b/src/structs.h
index 8ec2cb1..8e6d93f 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -3626,3 +3626,10 @@
CDSCOPE_TABPAGE, // :tcd
CDSCOPE_WINDOW // :lcd
} cdscope_T;
+
+// argument for mouse_find_win()
+typedef enum {
+ IGNORE_POPUP, // only check non-popup windows
+ FIND_POPUP, // also find popup windows
+ FAIL_POPUP // return NULL if mouse on popup window
+} mouse_find_T;