summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2023-08-27Slightly simpler handle_close() in Fl_Wayland_Window_Driver.cxxManoloFLTK
2023-08-27Remove useless function prototype declarationManoloFLTK
2023-08-26FLUID: fixes file path calculation bugMatthias Melcher
2023-08-23Undo commit 5ea7a04 which requires Mutter V12ManoloFLTK
That commit's goal was to use an algorithm that does not assume that number keys are at keycodes 10-19, which may not hold with "special" keyboards. Unfortunately, the new algorithm requires Mutter V12 and fails with Mutter V11, used by Debian 12.
2023-08-22Wayland: fix regression in menu positioning brought by c43cf2fManoloFLTK
2023-08-20Undo commit 0a31225 which killed "caps lock"ManoloFLTK
2023-08-20Simpler function process_wld_key(()ManoloFLTK
2023-08-20Wayland: process number keys independently of keyboard layoutManoloFLTK
The new algorithm supports alternate keyboard layouts, e.g., Dvorak.
2023-08-20Remove redundant initialisationManoloFLTK
2023-08-20Create class function Fl_Wayland_Graphics_Driver::custom_offscreen()ManoloFLTK
2023-08-18Improve handling of type Fl_Offscreen under WaylandManoloFLTK
Type Fl_Offscreen is now to be cast to cairo_t*. Also, make sure the dimensions of GL windows are multiples of the screen scale factor.
2023-08-15Wayland mouse wheel support: compositors can behave differentlyManoloFLTK
2023-08-14Handle shift + mousewheel event on Wayland (STR 3521)Albrecht Schlosser
Pressing the shift key while using the mousewheel changes horizontal to vertical scrolling and vice versa. This allows users with a standard mouse with only one scrollwheel to use it for both scrolling directions. This concludes "handling shift + mousewheel" for all supported platforms.
2023-08-09Wayland: fix fl_read_image() from offscreen bufferManoloFLTK
2023-08-08Wayland: improve layout of struct fl_wld_draw_bufferManoloFLTK
2023-08-08Move repeated code to Fl_Wayland_Graphics_Driver::cairo_init()ManoloFLTK
2023-08-05Let FLTK give more detailed description of a Wayland fatal errorManoloFLTK
Wayland protocol error messages now give the protocol name and the error code.
2023-08-04Improve procedure to close decorated Wayland windowManoloFLTK
Libdecor complicates what should be simple, to close a decorated window, because it uses the titlebar after return from the closing callback function. Thus, FLTK delays the sending of the FL_CLOSE event to the window, only when libdecor runs in CSD mode.
2023-08-03Slightly improve Fl_Wayland_Screen_Driver::poll_or_select_with_delay()ManoloFLTK
2023-08-02Fix Fl_Wayland_Image_Surface_Driver::end_current()ManoloFLTK
2023-08-02Wayland: fix window closing with Sway's kill command or app menuManoloFLTK
2023-07-31Wayland: add test to avoid null pointer dereferencingManoloFLTK
2023-07-31Implement Fl_Wayland_Screen_Driver::poll_or_select_with_delay(double)ManoloFLTK
2023-07-29Wayland: simpler use of function eglChooseConfig()ManoloFLTK
2023-07-28Wayland.dox: add info about the xdg decoration protocolManoloFLTK
Also, use KWin to name the KDE desktop's Wayland compositor.
2023-07-21Wayland: slightly improve procedure to close toplevel windowManoloFLTK
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