diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-08-18 18:02:35 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-08-18 18:02:35 +0200 |
| commit | 3384776f8e4b88da17b8418ddb3c9d752551bb6f (patch) | |
| tree | ca4de9b03aa3b693631513fb1301739f402bd533 /src/drivers/Wayland/Fl_Wayland_Window_Driver.H | |
| parent | 64f64835dda909e106a4516d64d004b6813a9c1d (diff) | |
Improve handling of type Fl_Offscreen under Wayland
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.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H index 985d7bfe2..c3a8f41a3 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H @@ -25,6 +25,7 @@ #include "../../Fl_Window_Driver.H" #include <FL/Fl_Plugin.H> #include "Fl_Wayland_Screen_Driver.H" +#include "Fl_Wayland_Graphics_Driver.H" /* @@ -137,7 +138,7 @@ struct wld_window { Fl_Window *fl_win; struct wl_list outputs; // linked list of displays where part or whole of window maps struct wl_surface *wl_surface; - struct fl_wld_buffer *buffer; + struct Fl_Wayland_Graphics_Driver::wld_buffer *buffer; struct xdg_surface *xdg_surface; enum Fl_Wayland_Window_Driver::kind kind; union { // for each value of kind |
