summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-10-20 15:09:18 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-10-20 15:09:52 +0200
commitefac0cb9ab3f228a28f365ef7e3ad3acf3144eff (patch)
tree5225e38b1316d3e44633a5670ec00e4dc7da0eb0 /src/drivers/Wayland/Fl_Wayland_Window_Driver.H
parent0ced7991b4d855538f426e95a2f9eb76ba3dbf0f (diff)
Fix "New Wayland subwindow code creates issues with resizes of opengl windows…" (#1311)
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
index 5a34c16a9..1cf378178 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
@@ -149,7 +149,6 @@ struct wld_window {
struct wl_callback *frame_cb;
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
struct libdecor_frame *frame;
struct wl_subsurface *subsurface;
@@ -158,6 +157,7 @@ struct wld_window {
};
// non-null when using custom cursor
struct Fl_Wayland_Window_Driver::custom_cursor *custom_cursor;
+ enum Fl_Wayland_Window_Driver::kind kind;
int configured_width;
int configured_height;
int floating_width;