summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland
AgeCommit message (Collapse)Author
3 dayswip: forkmaxim nikonov
7 daysAvoid leaving file descriptor open after failed call to mkstemp()ManoloFLTK
9 daysWayland paste and DnD: fix minor issue revealed by valgrind - cont'd.ManoloFLTK
9 daysWayland paste and DnD: fix minor issue revealed by valgrind.ManoloFLTK
11 daysImprove usage of std::map::key_comp() member in fl_wayland_clipboard_dnd.cxxManoloFLTK
11 daysImprove usage of std::map objects in fl_wayland_clipboard_dnd.cxxManoloFLTK
12 daysWayland: improve handling of priorities between diverse clipboard mime-types.ManoloFLTK
2026-01-23Wayland: use UTF8 text from clipboard when available.ManoloFLTK
2026-01-23Wayland: add support of recoded UTF8 text in clipboard.ManoloFLTK
2026-01-22Fix "Setting window custom cursor from SVG image crashes" (#1363)ManoloFLTK
2026-01-21Improve handling of text containing context-dependent unicode points.ManoloFLTK
This commit makes platforms Windows and macOS compute string widths with the same mechanism as what is in place for platforms Wayland/X11: - the width of a string containing a single codepoint is computed and memorized in the table of character widths; - the width of a string containing several codepoints is computed as such rather than as the sum of the widths of its composing characters. The result is that FLTK text widgets input and draw correctly also complex emojis encoded with context-dependent codepoints. Function fl_utf8_remove_context_dependent() is no longer necessary.
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-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.
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-19Add Fl_Gl_Window 32 bit depth buffer option.Matthias Melcher
2025-12-13Same change for all other platforms.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-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-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-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
2025-08-19Fix part of #1295 related to Wayland and hiding/showing subwindowManoloFLTK
2025-08-18Fix: Unexpected FL_ENTER after FL_LEAVE when a subwindow is hidden (#1295)ManoloFLTK
2025-08-09Wayland: Some shortcut keys not delivered when input widget has focus - ↵ManoloFLTK
cont'd (#1290)
2025-08-08Wayland: Some shortcut keys not delivered when input widget has focus (#1290)ManoloFLTK