summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
AgeCommit message (Collapse)Author
2023-10-25 Fix "Wayland: Overlay windows look blurred" - cont'd (#808)ManoloFLTK
2023-10-24 Fix "Wayland: Overlay windows look blurred" (#808)ManoloFLTK
2023-10-24Wayland: implement scale factor windows as popups - cont'dManoloFLTK
2023-10-24Wayland: implement scale factor windows as popups - cont'dManoloFLTK
2023-10-23Wayland: implement transient scale factor windows as popupsManoloFLTK
as discussed in issue #794. Also, fix for macOS the use of the FL_FOCUS event for these transient windows
2023-10-17Fix Crashes and warnings when Fl_Double_Window is smaller than 1x1 (#798)ManoloFLTK
2023-10-14Improve Fl_Wayland_Window_Driver::take_focus()ManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-10-05Wayland: whitespace only changesManoloFLTK
2023-10-04Wayland: remove useless codeManoloFLTK
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-08-27Slightly simpler handle_close() in Fl_Wayland_Window_Driver.cxxManoloFLTK
2023-08-22Wayland: fix regression in menu positioning brought by c43cf2fManoloFLTK
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-08Wayland: improve layout of struct fl_wld_draw_bufferManoloFLTK
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-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-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-06-28Have Fl_Wayland_Window_Driver use Fl::add_check() when adequateManoloFLTK
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-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-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-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-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK