summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-09-15 09:13:45 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-09-15 09:13:45 +0200
commita8244ebcd85652128ca6d6dcf842d8fd9263f75a (patch)
treee9e99a06d1efc3072fd0b567dbfa3461a47d2352 /src/drivers/Wayland
parentdfd208e171590c0fae3558c84252550ed9caa6a1 (diff)
Complete Wayland-related part of issue #1295 - continued
Diffstat (limited to 'src/drivers/Wayland')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index 86bfdb98d..8bae05c42 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -245,6 +245,8 @@ static void pointer_leave(void *data, struct wl_pointer *wl_pointer,
need_leave = win->top_window(); // we leave a sub or toplevel window
wl_display_roundtrip(fl_wl_display()); // pointer_enter to other win, if applicable, will run
if (need_leave) { // we really left the sub-or-top win and did not enter another
+ extern Fl_Window *fl_xmousewin;
+ fl_xmousewin = 0;
Fl::handle(FL_LEAVE, need_leave);
}
}