Extend the SGR Pixel mouse reporting protocol to also report when the mouse leaves the window

This commit is contained in:
Kovid Goyal
2025-07-12 11:59:23 +05:30
parent c3360cd76e
commit 4d3bbd82e0
8 changed files with 87 additions and 24 deletions

View File

@@ -332,7 +332,7 @@ typedef struct {
bool has_pending_resizes, has_pending_closes;
bool check_for_active_animated_images;
struct { double x, y; } default_dpi;
id_type active_drag_in_window, tracked_drag_in_window;
id_type active_drag_in_window, tracked_drag_in_window, mouse_hover_in_window;
int active_drag_button, tracked_drag_button;
CloseRequest quit_request;
bool redirect_mouse_handling;