The 1.32 wayland-protocols release is not in distribution
builds yet, so a hard dependency on it is not helpful.
pending_state |= (GDK_TOPLEVEL_STATE_TILED |
GDK_TOPLEVEL_STATE_LEFT_TILED);
break;
+#ifdef HAVE_TOPLEVEL_STATE_SUSPENDED
case XDG_TOPLEVEL_STATE_SUSPENDED:
pending_state |= GDK_TOPLEVEL_STATE_SUSPENDED;
break;
+#endif
default:
/* Unknown state */
break;
fribidi_req = '>= 1.0.6'
cairo_req = '>= 1.14.0'
gdk_pixbuf_req = '>= 2.30.0'
-wayland_proto_req = '>= 1.32'
+wayland_proto_req = '>= 1.31'
wayland_req = '>= 1.21.0'
graphene_req = '>= 1.10.0'
epoxy_req = '>= 1.4'
'xkbcommon @0@'.format(xkbcommon_req),
'wayland-egl',
]
+
+ if wlprotocolsdep.version().version_compare('>=1.32')
+ cdata.set('HAVE_TOPLEVEL_STATE_SUSPENDED', 1)
+ endif
endif
x11_pkgs = []