summaryrefslogtreecommitdiff
path: root/libdecor/build
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-25 13:59:07 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-25 15:06:27 +0200
commitafc60b2503e0f2107356c17b2779ae58aa2fe31b (patch)
treeb27c5ca6b355a454e19bc9d474d5aac613555346 /libdecor/build
parent85ec2642c06f5ec03a0339a638554aa684e80622 (diff)
Update to libdecor ca6e6b68 dated 25-aug-2023
Diffstat (limited to 'libdecor/build')
-rw-r--r--libdecor/build/fl_libdecor.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libdecor/build/fl_libdecor.c b/libdecor/build/fl_libdecor.c
index 6716bf746..ab6cee5c2 100644
--- a/libdecor/build/fl_libdecor.c
+++ b/libdecor/build/fl_libdecor.c
@@ -1,7 +1,7 @@
//
// Interface with the libdecor library for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2022 by Bill Spitzak and others.
+// Copyright 2022-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -16,12 +16,10 @@
/* 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
+#ifdef XDG_TOPLEVEL_STATE_SUSPENDED_SINCE_VERSION
+# define HAVE_XDG_SHELL_V6 1
#endif
-// end of this part
#define libdecor_frame_set_minimized libdecor_frame_set_minimized_orig
#define libdecor_new libdecor_new_orig