summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2023-05-20Fix name of static member variable Fl_Wayland_Screen_Driver::wl_displayManoloFLTK
and add explanatory comment.
2023-05-17Add null-pointer check for tall menu window under Wayland+KDEManoloFLTK
2023-05-15Fix handling of tall menu windows with the KDE Wayland compositorManoloFLTK
Unfortunately (sigh), the KDE Wayland compositor does not seem to support correctly, that is, as described by the Wayland protocol, popup windows that are taller than the display : there is no means to make it draw such popup so that part of it is above the screen top, whereas the 3 other tested compositors (Mutter, Weston, Sway) don't have this problem. This commit implements a new approach to draw tall menu windows, and uses it only with the KDE compositor : instead of asking the compositor to slide the menu window up, the menu window remains at a fixed position and the graphics inside the window is slided up. This requires to add a member variable, int offset_y, to class menuwindow, that gets used only for the Wayland platform and that contains the vertical offset by which graphics to the menu window is moved, expressed in FLTK units. An accessor to the address of this member variable is added to class Fl_Window_Driver.
2023-05-13Wayland: improve tall menu window support with xdg_positioner_set_offset()ManoloFLTK
2023-05-12Wayland: slightly simpler surface_enter() for toplevel GL windowsManoloFLTK
2023-05-11Wayland: fix opening GL top-level window on 2-screen system - cont'dManoloFLTK
2023-05-11Wayland: fix opening GL top-level window on 2-screen systemManoloFLTK
2023-05-03Fl_Wayland_Screen_Driver::get_system_scheme() is not neededManoloFLTK
2023-05-03Wayland: clearer procedure to complete initialisation of screen dataManoloFLTK
2023-05-02 Wayland: problem with menus on secondary monitor - cont'd (#724)ManoloFLTK
2023-05-02Wayland: problem with dropdown menus on secondary monitor (#724)ManoloFLTK
2023-05-01Wayland: wl_cursor_theme_load() may return NULLManoloFLTK
2023-05-01Fix regression in Fl::screeen_xywh() introduced at 9ea0cc8ManoloFLTK
2023-05-01Check return values of calls to libxkbcommon functions (#727)ManoloFLTK
2023-04-29Fix crash reported in issues #723 and #724ManoloFLTK
2023-04-28Make sure Wayland surface size is integer multiple of wld_ scaleManoloFLTK
2023-04-28Improve integration with the OWL Wayland compositorManoloFLTK
2023-04-27Slightly simpler Fl_Wayland_Screen_Driver::open_display_platform()ManoloFLTK
2023-04-25Wayland filename drag-n-drop: fix final null byteManoloFLTK
2023-04-25Wayland: accept all data_device_manager protocol versionsManoloFLTK
2023-04-25Wayland: set required version of wl_seat protocol to 2ManoloFLTK
2023-04-24Windows: define _WIN32_IE for older MinGW versions (#710)Albrecht Schlosser
... if _WIN32_IE is not defined. Older MinGW versions would otherwise not define SHGFP_TYPE_CURRENT which is needed since commit 5a4e7caa54bab9da2061b0003bb546aa0da6ea1b that fixes GitHub issue #710: "Fl_Preferences not stored on Windows 10". This commit is based on Ian's work as discussed in fltk.coredev, thread "fltk-1.4 build error in Fl_WinAPI_System_Driver.cxx with 32-bit mingw" on Apr 20, 2023.
2023-04-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK
2023-04-23Slightly simpler Fl_Wayland_Graphics_Driver::copy_offscreen()ManoloFLTK
2023-04-21Remove superfluous #include directiveManoloFLTK
2023-04-21Fl_Window_Driver::destroy_double_buffer() does not need overridesManoloFLTK
2023-04-20Wayland: keep window resizable after native file chooser - cont'dManoloFLTK
2023-04-20Wayland: keep window resizable after native file chooserManoloFLTK
2023-04-20Inform Wayland compositor that most FLTK windows are opaqueManoloFLTK
2023-04-17Move constant expression out of loopManoloFLTK
2023-04-17Wayland: account for memorised keyboard surface before wl_surface_destroy()ManoloFLTK
2023-04-14 Fix for "Wayland: heap-use-after-free after popup/pulldown" (#719)ManoloFLTK
2023-04-14Remove duplication of Pango standard font namesManoloFLTK
And move each array of standard font names to appropriate font-related source file
2023-04-13Fix compiler warnings [-Wpedantic]Albrecht Schlosser
Remove extra semicolons after function definitions
2023-04-13Lower Pango required version from 1.22 to 1.16ManoloFLTK
2023-04-13Standardize API to "graphics context" across platformsManoloFLTK
Rename fl_wl_cairo() to fl_wl_gc() Add function cairo_t* fl_cairo_gc() under OPTION_USE_CAIRO
2023-04-12Wayland: limit copied pixels when window update is a region - cont'dManoloFLTK
Simpler Fl_Wayland_Window_Driver::flush_overlay() is enough.
2023-04-12Wayland: limit copied pixels when window update is a region - cont'dManoloFLTK
Handle Fl_Overlay_Window objects
2023-04-10Fix compiler warning [-Wsign-compare]Albrecht Schlosser
2023-04-08 Fix "Giant cursor on Wayland + fractional scaling" (#713)ManoloFLTK
2023-04-07Wayland: non-resizable windows are positioned in the wrong place (#711) - ↵ManoloFLTK
cont'd That is also expected to be the fix for #712
2023-04-07Wayland: fix for issue #712 (hopefully)ManoloFLTK
2023-04-07Wayland: fix reporting of relative location of multiple displaysManoloFLTK
2023-04-05Wayland: limit copied pixels when window update is a regionManoloFLTK
2023-04-05 Wayland backend draws everything two or three times - cont'd (#708)ManoloFLTK
2023-04-04Remove superfluous #include directivesManoloFLTK
2023-04-03Remove unneeded #include directivesManoloFLTK
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-04-03Wayland: update comment about differences between compositorsManoloFLTK
Mutter goes back to what it did in earlier versions. Fortunately, FLTK can handle this change.
2023-04-03Wayland + Weston: fix focus loss after click on titlebarManoloFLTK