summaryrefslogtreecommitdiff
path: root/libdecor/build
diff options
context:
space:
mode:
Diffstat (limited to 'libdecor/build')
-rw-r--r--libdecor/build/fl_libdecor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libdecor/build/fl_libdecor.c b/libdecor/build/fl_libdecor.c
index a4d3e812b..6716bf746 100644
--- a/libdecor/build/fl_libdecor.c
+++ b/libdecor/build/fl_libdecor.c
@@ -16,6 +16,13 @@
/* Improvements to libdecor.c without modifying libdecor.c itself */
+// this part to support libdecor commit f43652c7 dated 15-jul-2023
+#include "xdg-shell-client-protocol.h"
+#ifndef XDG_TOPLEVEL_STATE_SUSPENDED_SINCE_VERSION
+# define XDG_TOPLEVEL_STATE_SUSPENDED (enum xdg_toplevel_state)9
+#endif
+// end of this part
+
#define libdecor_frame_set_minimized libdecor_frame_set_minimized_orig
#define libdecor_new libdecor_new_orig
#include <dlfcn.h>