FLTK 1.3.x used GDK2 function gdk_x11_drawable_get_xid() which does not
exist in GDK3 and is replaced by gdk_x11_window_get_xid(). Thus the native
chooser did not start because of a missing symbol.
But gdk_x11_window_get_xid() cannot be used either because it works
only if the native file chooser window is an X11 window, which it's not
when the desktop runs Wayland.
The commit removes altogether the use of gdk_x11_window_get_xid().
That was already done in FLTK 1.4.0.
This commit backports two commits from 'master' (1.4.1 - 1.4.2):
1. "Fix return value of Fl_Table_Row::row_selected(int) (PR #1187)"
commit a48ebc5db0
2. "Fix Fl_Table_Row inconsistencies, final part (#1187)"
commit 0c2aa40bbc
For details see PR #1187 and the referred commits.
- documentation updates, alignment, formatting, version numbers
- fix widget order in test/keyboard_ui.fl
- replace hard-coded bit mask with 'FL_BUTTONS'
- add missing macro definition 'GET_XBUTTON_WPARAM' for MinGW
- reorder 'case' statements for button events (like in master)
> Backported from branch 'master' (1.4.0),
> commit 1259275316 (Jul 14, 2023)
The old version would send FL_MOVE events after dragging with more
than one mouse buttons pressed, as soon as the first button was
released.
The new version sends FL_DRAG until the last mouse button is released
and then FL_MOVE, as usual.
This change affects dragging only if more than one mouse button is
pushed and held while dragging. The order of pushing and releasing
mouse buttons does not affect the behavior.
This file enables consumers to search for a particular FLTK version.
Note: backported from 'master' to support parallel installation of
1.3.10 (1.3.x) and 1.4.0 (1.4.x) or any higher version on one system.
This update makes sure to find and use a `fluid` executable on the
host (build system) and does no longer add the `fluid` target when
cross-compiling.
This makes PR #898 obsolete and fixes the reported issue.
- ensure that all required CMake policies are set to 3.15
- enhance CMake status report (add bundled library types)
- add erco's CMake instructions for building with NMake
- improve HTML docs (remove "custom" HTML footer)
- update ANNOUNCEMENT
... if GL or locale headers are not found. These headers will be
resolved by the Visual Studio SDK (backported from 1.4).
Also improve finding the GLEW library on Windows (named 'glew32')
(backported from 1.4).
Also update CHANGES file.
The compiler warnings were issued by MinGW with gcc 9.2.0.
Note: There are lots of compiler warnings left when building with
Visual Studio and/or NMake but these will not be fixed in 1.3.9.
All warnings have been fixed in 1.4.0 (current git 'master').