mirror of
https://github.com/fltk/fltk.git
synced 2026-03-23 15:35:11 +08:00
Complete Wayland-related part of issue #1295 - continued
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user