summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland
AgeCommit message (Collapse)Author
2024-03-16Create enum Fl_Wayland_Screen_Driver::cursor_shapesManoloFLTK
2024-03-15Have FLTK use libdecor at version > 0.2.2ManoloFLTK
- it's no longer necessary to take care of the change in the layout of "struct libdecor" between versions ≤ 0.2.2 and > 0.2.2 of libdecor - version > 0.2.2 contains MR131, that is, it defines LIBDECOR_WINDOW_STATE_RESIZING so the hack to emulate it is no longer necessary - CMake option FLTK_USE_SYSTEM_LIBDECOR now requires libdecor version > 0.2.2 to be activated, otherwise the bundled libdecor is used - what will be the libdecor version after 0.2.2 (0.2.3? 0.3.0?) is not known as of today
2024-03-13Improve Fl_Wayland_Screen_Driver::base_scale(int)ManoloFLTK
2024-03-13Update libdecor to upstream commit 4f2c03d5 - cont'dManoloFLTK
2024-03-04Implement Fl_Wayland_Screen_Driver::base_scale(int numscreen)ManoloFLTK
2024-03-03Use Fl_Window_Driver::is_resizable() to check whether window can be resizedManoloFLTK
2024-02-09Change parameters of Fl_Wayland_Window_Driver::delete_cursor()ManoloFLTK
2024-02-08Improve Fl_Wayland_Window_Driver::hide()ManoloFLTK
2024-02-06Fix window moving in Fl_Wayland_Window_Driver::resize()ManoloFLTK
2024-02-05Fl_Window_Driver::set_popup_window(), ↵ManoloFLTK
Fl_Screen_Driver::screen_boundaries_known() Fl_Window_Driver::set_popup_window() is to be used to declare a window should be positioned relatively to a previously mapped other window. This allows a platform to process such windows differently from other windows if needed. Menu and tooltip windows are so declared. A call to Fl_Window_Driver::set_popup_window() also allows to distinguish a real menu or tooltip window from a window marked by Fl_Window::set_menu_window() or by Fl_Window::set_tooltip_window() but that's not a real menu or tooltip. New member function bool Fl_Screen_Driver::screen_boundaries_known() returns true by default. A platform where the position of windows inside a screen is hidden (e.g., Wayland) returns false. This allows FLTK to refrain from trying to make sure a computed position is inside a screen.
2024-02-04Shorten parameter list of Fl_Wayland_Window_Driver::delete_cursor_(bool)ManoloFLTK
2024-02-03Wayland: fix setting cursor to FL_NO_CURSORManoloFLTK
2024-01-29Fix cached GL context on all platforms (#737)Matthias Melcher
2024-01-22Add popup_window() virtual member functions to Fl_Window_DriverManoloFLTK
2024-01-21 Fix Wayland: crash with set_menu_window() - cont'd (#892)ManoloFLTK
2024-01-21 Fix Wayland: crash with set_menu_window() - cont'd (#892)ManoloFLTK
2024-01-21Fix "Wayland: crash with set_menu_window()" (#892)ManoloFLTK
Fixes also a similar crash occuring after use of set_tooltip_window(). Two bool member variables are added to class Fl_Window_Driver to indicate true FLTK menu windows (i.e., created by Fl_Menu_Item::pulldown()) and true FLTK tooltip windows (i.e., Fl_Tooltip).
2024-01-19Wayland: add necessary initializations after commit b7fba46ManoloFLTK
2024-01-18Create struct wl_callback_listener ↵ManoloFLTK
*Fl_Wayland_Graphics_Driver::p_surface_frame_listener
2024-01-18Wayland: throttle resize operations also for top-level GL windowsManoloFLTK
Member cb of struct wld_buffer is replaced by member frame_cb of struct wld_window. This allows frame_cb to be used both for non-GL and for top-level GL windows.
2024-01-17 Wayland + full-size subwindow resizing issue - cont'd (#878)ManoloFLTK
Implement a less strict handling of resizing of a decorated window entirely covered by a subwindow where throttling of fast resize commands is guided by the value of the in_use member variable of the window's wld_buffer.
2024-01-13Wayland: fix processing of keypad keys - cont'd (#881)ManoloFLTK
2024-01-07Wayland: fix processing of keypad keys - tidying (#881)ManoloFLTK
2024-01-06Wld: Add missing keypad key to keypad translation table (#881)Albrecht Schlosser
Keypad key 'Del' aka '.' (or ',') was missing in the key translation table for Fl::e_original_keysym. Also: add DEBUG_KEYBOARD macro to enable/disable keyboard debugging code easier.
2024-01-06 Wld: Fix e_original_keysym for keypad number keys + NumLock off (#881)ManoloFLTK
2024-01-06Wayland: fix processing of '.' keypad key (#881)ManoloFLTK
2024-01-05Wayland: numeric keypad keys don't work as intended - cont'd (#881)ManoloFLTK
2024-01-05 Wayland: numeric keypad keys don't work as intended (#881)ManoloFLTK
2023-12-28Fix for bug in Mutter Wayland compositor (#878) - cont'dManoloFLTK
Add more tests to do additional operations under stricter conditions
2023-12-28Fix for bug in Mutter Wayland compositor (#878)ManoloFLTK
Mutter implements too strictly this rule expected from compositors about "frame callbacks" : "A server should avoid signaling the frame callbacks if the surface is not visible in any way, e.g. the surface is off-screen, or completely obscured by other opaque surfaces." When a window is being interactively resized, it makes no sense to create a frame callback for an entirely covered surface but then never signal the surface can be redrawn, because this blocks the resize operation. Neither KWin nor Weston have this problem.
2023-12-26Wld: export only member functions for ./configure --enable-shared (#872)ManoloFLTK
2023-12-21Fix a typo, trailing whitespace, and dependenciesAlbrecht Schlosser
2023-12-20Restore "configure --enable-shared" under Linux (#872)ManoloFLTK
2023-12-18 Wayland: Menu items are accessible when mouse is over another win (#869)ManoloFLTK
2023-12-14FLTK implementation of the "GTK Shell" Wayland protocol - cont'dManoloFLTK
The loop over all libdecor-gtk decorations is now made using libdecor's data structures, rather than using FLTK's mapped window list.
2023-12-13FLTK implementation of the "GTK Shell" Wayland protocol - cont'dManoloFLTK
The pointer_enter() function now checks that its non-FLTK wl_surface argument is the wl_surface of the titlebar of a GTK-decorated window.
2023-12-13Wayland+GLUT: fix crash in glut_test application - cont'dManoloFLTK
2023-12-12Wayland+GLUT: fix crash in glut_test applicationManoloFLTK
2023-12-10Replace wl_output_destroy() by wl_output_release() when possibleManoloFLTK
2023-12-05Wayland: much lighter but partial implementation of the "GTK Shell" protocolManoloFLTK
Only the middle-button click gesture is implemented which avoids interference with what libdecor does with right-click and double-click.
2023-12-04New member function Fl_Image_Surface::mask(Fl_RGB_Image*)ManoloFLTK
2023-12-02Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by defaultManoloFLTK
This commit makes the default FLTK build setting use libdecor as packaged in Linux when the build system contains packages libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0. Otherwise, FLTK uses the bundled version of libdecor. This includes situations where package libdecor-0-dev is present in an earlier version.
2023-11-28Adds OpenGL swap_interval for Wayland and X11.Matthias Melcher
2023-11-25Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_BitmapManoloFLTK
Previously, these objects were drawn slightly blurred on HighDPI. This commit has them resized to the pixel size of the area where they are being drawn and then drawn.
2023-11-20Fix Fl_Wayland_Image_Surface_Driver c'torManoloFLTK
2023-11-15Wayland: fix moving top-level window around with mouseManoloFLTK
2023-11-14Fix dependencies and whitespace issuesAlbrecht Schlosser
2023-11-12Have libdecor-gtk implement the "GTK Shell" protocolManoloFLTK
2023-11-12Remove unseless code in Fl_Wayland_Screen_Driver.cxxManoloFLTK
2023-11-09Wayland: make fl_close_display() free more resourcesManoloFLTK