summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
AgeCommit message (Collapse)Author
3 dayswip: forkmaxim nikonov
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.
2025-12-08Wayland: add support of the "XDG dialog windows" protocolManoloFLTK
2025-07-09Wayland: account for new Wayfire compositorManoloFLTK
2025-03-13Improve support of screen addition/removal while FLTK runsManoloFLTK
2025-03-11Fix "Wayland: Huge menu hiding unexpectedly when moving a mouse (#1115)ManoloFLTK
This commit also computes work-area size for single-display settings.
2024-12-06Remove unnecessary friend declarationManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window - cont'd (#983)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window (#983)ManoloFLTK
2024-05-11Wayland: call gtk_surface1_set_modal() of GTK Shell protocol for modal winsManoloFLTK
This has the Mutter compositor open modal windows at the center of their parent window rather than at an unpredictable display position before this commit.
2024-03-16Create enum Fl_Wayland_Screen_Driver::cursor_shapesManoloFLTK
2024-03-04Implement Fl_Wayland_Screen_Driver::base_scale(int numscreen)ManoloFLTK
2024-02-05Fl_Window_Driver::set_popup_window(), ↵ManoloFLTK
Fl_Screen_Driver::screen_boundaries_known() Fl_Window_Driver::set_popup_window() is to be used to declare a window should be positioned relatively to a previously mapped other window. This allows a platform to process such windows differently from other windows if needed. Menu and tooltip windows are so declared. A call to Fl_Window_Driver::set_popup_window() also allows to distinguish a real menu or tooltip window from a window marked by Fl_Window::set_menu_window() or by Fl_Window::set_tooltip_window() but that's not a real menu or tooltip. New member function bool Fl_Screen_Driver::screen_boundaries_known() returns true by default. A platform where the position of windows inside a screen is hidden (e.g., Wayland) returns false. This allows FLTK to refrain from trying to make sure a computed position is inside a screen.
2024-02-03Wayland: fix setting cursor to FL_NO_CURSORManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-10-05Wayland: whitespace only changesManoloFLTK
2023-07-31Implement Fl_Wayland_Screen_Driver::poll_or_select_with_delay(double)ManoloFLTK
2023-07-28Wayland.dox: add info about the xdg decoration protocolManoloFLTK
Also, use KWin to name the KDE desktop's Wayland compositor.
2023-05-03Fl_Wayland_Screen_Driver::get_system_scheme() is not neededManoloFLTK
2023-05-03Wayland: clearer procedure to complete initialisation of screen dataManoloFLTK
2023-04-07Wayland: fix reporting of relative location of multiple displaysManoloFLTK
2023-04-03Improve member function Fl_Wayland_Screen_Driver::surface_to_window()ManoloFLTK
Rename it to Fl_Wayland_Window_Driver::surface_to_window() and avoid loop over all mapped FLTK windows that used to be performed.
2023-03-27Wayland: move "struct seat" inside class Fl_Wayland_Screen_DriverManoloFLTK
2023-03-27Complete Fl_Wayland_Screen_Driver::close_display()ManoloFLTK
2023-03-26Implement methods Fl_Wayland_Screen_Driver::en/disable_im()ManoloFLTK
2023-03-14Wayland: add support for multiple high or low DPI displays - cont'dManoloFLTK
2023-03-09Fix dependencies, typos, trailing whitespace, and formattingAlbrecht Schlosser
No code changes.
2023-03-04Simpler use of member variable wl_registry in class Fl_Wayland_Screen_DriverManoloFLTK
2023-03-03Reorder members of class Fl_Wayland_Screen_DriverManoloFLTK
2023-02-17Remove special FL_CURSOR_NONE implementation in WaylandManoloFLTK
2023-02-13Remove unneeded list of wayland seatsManoloFLTK
2023-02-11Wayland: improve support for FL_CURSOR_{NONE, HELP}ManoloFLTK
2023-02-02Add preliminary support of Wayland under macOSManoloFLTK
Wayland under macOS is WIP at https://github.com/owl-compositor/owl
2023-01-23Wayland: remove useless member variables of struct outputManoloFLTK
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-11-09Wayland: remove unneeded friend declarationsManoloFLTK
2022-11-07Create class Fl_Unix_Screen_Driver used by X11 and Wayland platformsManoloFLTK
2022-11-05Wayland/X11 hybrid: use "bool fl_disable_wayland;" declaration.ManoloFLTK
2022-10-25Repair commit e0c3fe9 to fix #521 which destroyed DnD from WaylandManoloFLTK
It turns out it's necessary to memorize 2 event serial numbers : - serial changed at each pointer and key event; - pointer_enter_serial changed when pointer enters a surface because this one and not any other is needed for exact cursor changes by wl_pointer_set_cursor() in do_set_cursor().
2022-10-23Make Fl::display(const char *) active also for the Wayland platform.ManoloFLTK
2022-09-09New OPTION_WAYLAND_ONLY for CMake to build pure Wayland platform.ManoloFLTK
2022-08-31Hybrid Wayland/X11: remove setenv() call from ↵ManoloFLTK
Fl_Wayland_System_Driver::disable_wayland().
2022-08-30Hybrid Wayland/X11 platform: improve control of chosen backend.ManoloFLTK
2022-08-30Add FL_EXPORT to Fl_Wayland_Screen_Driver::wl_display member variable.ManoloFLTK
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-08-25Wayland: reduce the number of platform-specific FL_EXPORT directives.ManoloFLTK
2022-08-24Add FL_EXPORT directives to support building shared libs with -no-undefinedManoloFLTK
2022-08-20Remove FL_EXPORT qualifier from platform-specific class declarations.ManoloFLTK
2022-06-19Move input method support to Fl_Screen_Driver from Fl_Graphics_DriverManoloFLTK