summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2023-10-17Fix drawing points in complex shape mode with Cairo (#792)ManoloFLTK
2023-10-17Fix Crashes and warnings when Fl_Double_Window is smaller than 1x1 (#798)ManoloFLTK
2023-10-16Add virtual void Fl_Graphics_Driver::draw_circle()ManoloFLTK
2023-10-14Improve Fl_Wayland_Window_Driver::take_focus()ManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-10-13Remove obsolete commentsManoloFLTK
2023-10-11Fixes fl_filename_relative on Linux, Mac, and Windows (#787)Matthias Melcher
* fixed filename_relative for Linux * Fixing fl_filename_relative for MSWindows. * Update documentation * Fixed docs. * Fixes Linux and macOS builds
2023-10-09macOS: remove a bunch of deprecation warningsManoloFLTK
2023-10-09Clean long source lines in Fl_Wayland_Graphics_Driver.cxxManoloFLTK
2023-10-09Fix " Wayland compilation warnings" (#788)ManoloFLTK
2023-10-07Fix STR 3458: "GLUT compatibility mode segfaults"Albrecht Schlosser
... "when there's no current window". Silently ignore GLUT function calls that need a current window if the current window is NULL, return 0 from functions that return an 'int'. Check if window is shown in Fl_X11_Gl_Window_Driver::swap_buffers(). This would issue "XRequest.nnn: GLXBadDrawable 0x0" on X11 otherwise. Note: the chosen implementation to ignore GLUT calls silently appears to be compatible with GLUT (3.7) whereas FreeGLUT 3.0 would issue error messages and exit. The latter could be implemented as well but would be much more work.
2023-10-05Wayland: whitespace only changesManoloFLTK
2023-10-04Wayland: remove useless codeManoloFLTK
2023-10-03Fix fltk.coredev: mandelbrot demo segfault under WaylandManoloFLTK
2023-10-03Wayland: add security test to avoid NULL pointer dereferencingManoloFLTK
2023-09-29Wayland: throttle window redraws during interactive resizes (#776)ManoloFLTK
2023-09-25New member function Fl_Wayland_Graphics_Driver::create_wld_buffer()ManoloFLTK
The previous member Fl_Wayland_Graphics_Driver::create_shm_buffer() is now renamed to create_wld_buffer() and divided in 2 parts: - one is related to the draw buffer; - the other is related to the wl_buffer and is what is now called create_shm_buffer(). This allows to delay creation of the wl_buffer until absolutely necessary, done inside Fl_Wayland_Graphics_Driver::buffer_commit().
2023-09-24Slightly simpler Fl_Wayland_Window_Driver::flush()ManoloFLTK
and beef up description of Wayland's mechanism to throttle screen redrawing.
2023-09-22Increase reuse of mmap'ed data by FLTK Wayland buffer factoryManoloFLTK
2023-09-18Step back commit 8248183 that's unsatisfactory while resizing windowsManoloFLTK
2023-09-17Improve reuse of mmap'ed data by Wayland buffersManoloFLTK
2023-09-05Adds some convenience methods.Matthias Melcher
fl_filename_absolute can no generate a path using arbitrary source paths. Fl_Menu_ adds find_item_with_user_data and find_item_with_argument Fl_String adds find(string, start)
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".