summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2026-01-20Remove possible NULL dereference introduced at commit 61e75e4ManoloFLTK
2026-01-19All platforms use same code to remove context-dependent codepoints from text ↵ManoloFLTK
input. This commit introduces function fl_utf8_remove_context_dependent() that removes from an UTF-8 string its context-dependent codepoints. Platforms macOS, Wayland and X11 call this function to process UTF-8 text received from a character palette as input to FLTK text. This makes sure FLTK text-editing widgets process textual input equally and consistently across platforms, especially emojis entered via a palette. Platform Windows creates a series of separate system events to input an emoji via the character palette. For this reason, function fl_utf8_remove_context_dependent() is not used by this platform which does internally the same filtering of context- dependent codepoints.
2026-01-11Don't pretend Wayland supports Fl::add_system_handler().ManoloFLTK
2026-01-09Remove un-necessary code from Fl_Wayland_Window_Driver::resize() functionManoloFLTK
2026-01-08Add CMake option FLTK_OPTION_PEN_SUPPORT (default: ON)Albrecht Schlosser
This option can be used to disable pen/tablet support if there are build problems on a particular platform or build system (e.g. MinGW) so users can continue to build FLTK 1.5. Users can also choose to disable pen support if they don't need it.
2026-01-08Wayland: use the "Cursor shape" protocol - Cont'dManoloFLTK
2026-01-05Wayland: use modern approach to cursor shapes with the "Cursor shape" protocol.ManoloFLTK
This removes the need to guess names of files each theme gives to cursor shapes and makes linking with dbus superfluous when the compositor supports the new protocol. The old, surface-based approach to cursor shapes remains used for custom shapes.
2026-01-04Windows: improve moving window across screens having distinct scale factors.ManoloFLTK
2026-01-04Fix "Wayland's wl_display_dispatch() can block a Vulkan application" (#1354)ManoloFLTK
This rewriting of the FLTK callback function that runs when there are data available for reading in the socket connecting the app and the Wayland compositor is meant to facilitate the integration of Vulkan. This rewriting reproduces the recommended code to read from the socket documented in Wayland function wl_display_prepare_read_queue() when several threads potentially read from the socket.
2026-01-03Fix compilation error on Windows (MinGW)Albrecht Schlosser
error: ‘fabs’ was not declared in this scope
2025-12-22Wayland: Fix FL_APP_ACTIVATE with timer.Matthias Melcher
Deferred handling of FL_APP_DEACTIVATE works very well.
2025-12-22Wayland: fixes syntax errorsMatthias Melcher
This code generates a lot of extra events
2025-12-21Wayland: FL_APP_ACTIVATE and FL_APP_DEACTIVATEMatthias Melcher
This is an attempt. Will verify on another machine now.
2025-12-21Win32: removed debugger messagesMatthiasWM
2025-12-21Win32: first commit for Pen driver (#1330)MatthiasWM
2025-12-21Win32: mergeMatthiasWM
2025-12-21Win32: Basic Pen driver setupMatthiasWM
2025-12-19Add Fl_Gl_Window 32 bit depth buffer option.Matthias Melcher
2025-12-13Same change for all other platforms.Matthias Melcher
2025-12-13Fix overzealous C++11ification in Pen driver.Matthias Melcher
2025-12-12class Fl_Wayland_Screen_Driver: add initialisation of member variable ↵ManoloFLTK
xdg_wm_dialog
2025-12-08Wayland: add support of the "XDG dialog windows" protocolManoloFLTK
2025-12-06Wayland: remove memory access error while computing screen work areaManoloFLTK
2025-11-29Wayland: remove code path that left workarea_xywh[*] unassigned (#1334)ManoloFLTK
2025-11-28Slight improvement of DnD support under WaylandManoloFLTK
2025-11-27Fix typo for all but macOSMatthias Melcher
2025-11-27Refactor pen interface into driver system.Matthias Melcher
2025-11-20Adjust some pen driver comments.Matthias Melcher
Made global variables private.
2025-11-17Fix two macOS compiler warnings.Matthias Melcher
2025-11-17Add pen/stylus/tablet API and driver for macOS (#1326)Matthias Melcher
* define the pen/tablet support API * add pen event handler stub as a fallback * add pen device test "penpal". * Add macOS pen/stylus/tablet driver. * Add Oxygen documentation.
2025-11-10Wayland: fix computation of screen workarea size.ManoloFLTK
This computation has been found possible only for single-display settings.
2025-11-08Wayland: simpler computation of screen workarea sizeManoloFLTK
2025-11-06Wayland: fix computation of screen size and workareaManoloFLTK
The previous method failed with gnome 49.1
2025-11-05Fix "Long Tooltips can crash under Wayland" (#1317)ManoloFLTK
2025-11-02Fix "CMake: Fallback to libOpenGL (no-X11 OpenGL)" (#1251)ManoloFLTK
2025-11-01Fix UTF-8 documentation'Matthias Melcher
Fix Unicode buffer allocation
2025-11-01Improve docs for UTF-8 calls (1/2)(#125)Matthias Melcher
2025-10-27Cont'd "New Wayland subwindow code creates issues with resizes of opengl ↵ManoloFLTK
windows…" (#1311)
2025-10-20Fix "New Wayland subwindow code creates issues with resizes of opengl ↵ManoloFLTK
windows…" (#1311)
2025-09-30Simplify and improve function Fl_Wayland_Window_Driver::resize() (#1307)ManoloFLTK
This modified implementation improves support of subwindows that are moved or resized above their parent toplevel window. It also significantly shortens and clarifies the source code.
2025-09-25Wayland: improve support of draggable subwindow (related to #1307)ManoloFLTK
2025-09-19Underline does not appear in some fonts and scales (Windows,X11-noCairo) (#1308)ManoloFLTK
2025-09-19Underline does not appear in some fonts and scales (X11-noCairo) (#1308)ManoloFLTK
2025-09-17Fix: Underline does not appear in some fonts and scales (WinXP .. Win11) (#1308)ManoloFLTK
2025-09-15Complete Wayland-related part of issue #1295 - continuedManoloFLTK
2025-09-15Complete Wayland-related part of issue #1295ManoloFLTK
2025-08-29Wayland: account for new Wayfire compositor - cont'dManoloFLTK
And allow for vertical display taskbar.
2025-08-25Fix "Wayland libdecor crashes with built-in one." (#1299)ManoloFLTK
2025-08-20Wayland: stop calling non-public libdecor_frame_get_content_{width,height} ↵ManoloFLTK
(#1296)
2025-08-19Fix for Wayland only part of #1295 related to "mangled" eventsManoloFLTK