From dfd208e171590c0fae3558c84252550ed9caa6a1 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 15 Sep 2025 09:05:16 +0200 Subject: Complete Wayland-related part of issue #1295 --- src/Fl_x.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_x.cxx') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index fed46a638..7a979ec42 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -103,8 +103,8 @@ extern int fl_send_system_handlers(void *e); #if FLTK_CONSOLIDATE_MOTION static Fl_Window* send_motion; -extern Fl_Window* fl_xmousewin; #endif +extern Fl_Window* fl_xmousewin; static bool in_a_window; // true if in any of our windows, even destroyed ones static void do_queued_events() { @@ -2199,9 +2199,9 @@ int fl_handle(const XEvent& thisevent) if (xevent.xcrossing.detail == NotifyInferior) break; set_event_xy(window); Fl::e_state = xevent.xcrossing.state << 16; -#if FLTK_CONSOLIDATE_MOTION +//#if FLTK_CONSOLIDATE_MOTION // this needs to be commented out in 1.4 and above (see #1295) fl_xmousewin = 0; -#endif // FLTK_CONSOLIDATE_MOTION +//#endif // FLTK_CONSOLIDATE_MOTION in_a_window = false; // make do_queued_events produce FL_LEAVE event return 0; -- cgit v1.2.3