summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-12-08 18:20:47 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-12-08 18:27:51 +0100
commit8454135d0c8918ed16441bbc08ef176cd2e02c5e (patch)
tree20839531af30da8d3bade1a25925887c7180c4ef /src/drivers/Wayland/Fl_Wayland_Window_Driver.H
parent1f6fda64a8195681e385acef2ec5fba740d85489 (diff)
Wayland: add support of the "XDG dialog windows" protocol
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
index 1cf378178..c5c1bee50 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
@@ -22,6 +22,7 @@
#ifndef FL_WAYLAND_WINDOW_DRIVER_H
#define FL_WAYLAND_WINDOW_DRIVER_H
+#include <config.h>
#include "../../Fl_Window_Driver.H"
#include <FL/Fl_Plugin.H>
#include "Fl_Wayland_Screen_Driver.H"
@@ -157,6 +158,9 @@ struct wld_window {
};
// non-null when using custom cursor
struct Fl_Wayland_Window_Driver::custom_cursor *custom_cursor;
+#if HAVE_XDG_DIALOG
+ struct xdg_dialog_v1 *xdg_dialog;
+#endif
enum Fl_Wayland_Window_Driver::kind kind;
int configured_width;
int configured_height;