summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
AgeCommit message (Collapse)Author
2024-06-29Wayland: improve mapping of subwindows on displayManoloFLTK
2024-06-27Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
2024-06-24Wayland: account for old versions of the GTK shell protocol - cont'dManoloFLTK
Not easy to get it right in absence of any documentation for "GTK Shell" protocol.
2024-06-24Wayland: account for old versions of the GTK shell protocol - cont'dManoloFLTK
2024-06-23Wayland: account for old versions of the GTK shell protocolManoloFLTK
2024-06-21Remove trailing whitespaceAlbrecht Schlosser
no code changes
2024-06-17Wayland: capture window titlebar as depth-4 imageManoloFLTK
2024-06-11Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
2024-06-04Wayland: add necessary calls to gtk_surface1_release()ManoloFLTK
2024-06-03Document how to control window location in screen under WaylandManoloFLTK
2024-06-03Wayland: fix interactive moving and resizing of a subwindow (#987)ManoloFLTK
2024-06-02 Fix Child Windows under Wayland are clipped on resizing … (#987)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window - cont'd (#983)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window (#983)ManoloFLTK
2024-05-27Remove useless Fl_Window_Driver accessors after new member ↵ManoloFLTK
Fl_Window::get_size_range()
2024-05-21More details about handling modal windows and various gnome versionsManoloFLTK
2024-05-20Wayland: don't call gtk_surface1_release() probably not usefulManoloFLTK
Also, add comment about when call to gtk_surface1_set_modal() is useful or useless but harmless.
2024-05-13Wayland: call gtk_surface1_set_modal() of GTK Shell protocol - cont'dManoloFLTK
2024-05-11Wayland: call gtk_surface1_set_modal() of GTK Shell protocol for modal winsManoloFLTK
This has the Mutter compositor open modal windows at the center of their parent window rather than at an unpredictable display position before this commit.
2024-05-10Wayland: slightly improved fix for issue #878ManoloFLTK
2024-05-05Wayland: use frame_cb before redrawing GL subwins - cont'd (#967)ManoloFLTK
2024-04-20Add "fl_" prefix to libdecor symbols when using the built-in copy of libdecorManoloFLTK
This allows client apps to use other versions of libdecor if they wish, just like what FLTK already does with libpng and libjpeg.
2024-04-18Allow libdecor package version ≥ 0.2.0 with FLTK_USE_SYSTEM_LIBDECORManoloFLTK
2024-03-20Use type cairo_region_t* for Fl_Region under Wayland platformManoloFLTK
2024-03-19Update dependencies, whitespace, and Fl_File_Chooser.cxxAlbrecht Schlosser
Rewrite src/Fl_File_Chooser.cxx from its .fl source file
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-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-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-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.
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-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-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-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-12Have libdecor-gtk implement the "GTK Shell" protocolManoloFLTK
2023-11-05Add Fl_Window::maximize() and Fl_Window::un_maximize()ManoloFLTK