[master] a8244eb - Complete Wayland-related part of issue #1295 - continued
"ManoloFLTK"
00:17 Sep 15
commit a8244ebcd85652128ca6d6dcf842d8fd9263f75a
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Sep 15 09:13:45 2025 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Sep 15 09:13:45 2025 +0200
Complete Wayland-related part of issue #1295 - continued
src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 2 ++
1 file changed, 2 insertions(+)
diff --git src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index 86bfdb9..8bae05c 100644
--- src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ 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);
}
}
Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.