summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2023-07-13Wayland: add control of targeted screen by fullscreen windowsManoloFLTK
2023-07-12Wayland: keep mouse button state across push/release eventsAlbrecht Schlosser
Notes: (1) Fl::e_state holds the current state of all mouse buttons which is returned by Fl::event_buttons() - "plural form". (2) Fl::e_keysym holds the "key" of the current event which can be a mouse button, returned by Fl::event_button() - "singular form".
2023-07-12Fix Wayland FL_RELEASE events reporting wrong buttonAlbrecht Schlosser
... in Fl::event_button(). This can be seen when two buttons have been pressed simultaneously and then released (see test/handle_events.cxx).
2023-06-28Have Fl_Wayland_Window_Driver use Fl::add_check() when adequateManoloFLTK
2023-06-27Slight simplification of Fl_Wayland_Gl_Window_Driver::swap_buffers()ManoloFLTK
Also, reorder members of class Fl_Wayland_Gl_Window_Driver
2023-06-26Fix Fl_Cocoa_Gl_Window_Driver::resize()ManoloFLTK
The additional [NSOpenGLContext flushBuffer] messages appear necessary when an Fl_Tile contains 2 or more GL subwindows.
2023-06-24Wayland: improve mapping and hiding of GL (subs)windowsManoloFLTK
2023-06-23Slightly simpler Fl_Wayland_Window_Driver::hide()ManoloFLTK
2023-06-19Wayland: improve support of multi-display setupsManoloFLTK
2023-06-13Wayland: fix menutitle windows with scaled, multiple displayManoloFLTK
2023-06-06 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-06 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-06 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-05 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-05Fix "Fl::get_font_name() with Pango is inconsistent" (#732)ManoloFLTK
2023-06-05Improve re-use of client/compositor shared memory by Wayland buffersManoloFLTK
2023-06-01Fix "Huge memory leak under Wayland" (#730)ManoloFLTK
2023-05-31Slightly simplify Fl_Wayland_Window_Driver::makeWindow()ManoloFLTK
2023-05-22Slightly improve Fl_Wayland_Window_Driver::flush()ManoloFLTK
2023-05-22Slightly re-organize class Fl_Wayland_Window_DriverManoloFLTK
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