summaryrefslogtreecommitdiff
path: root/libdecor/build
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-07-22 14:23:08 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-07-22 14:23:08 +0200
commitfa0aa95443689fc0d5fae2abdf16b2920faf55fa (patch)
tree0e046ce68a75e1d4305fc1089b97eacb31209446 /libdecor/build
parentcdd617d09421ea5c2b15a0b6005572a220409211 (diff)
libdecor: update with upstream source code as of 2023-JUL-15
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>