wayland/pointer-constraints: Fix build when native backend is disabled

https://gitlab.gnome.org/GNOME/mutter/merge_requests/636
This commit is contained in:
Ting-Wei Lan 2019-06-22 21:23:19 +08:00 committed by Florian Müllner
parent 0bf0366933
commit 740a62044e

View File

@ -30,7 +30,6 @@
#include "backends/meta-backend-private.h"
#include "backends/meta-pointer-constraint.h"
#include "backends/native/meta-backend-native.h"
#include "core/frame.h"
#include "core/window-private.h"
#include "meta/meta-backend.h"
@ -45,6 +44,10 @@
#include "pointer-constraints-unstable-v1-server-protocol.h"
#ifdef HAVE_NATIVE_BACKEND
#include "backends/native/meta-backend-native.h"
#endif
static GQuark quark_pending_constraint_state = 0;
static GQuark quark_surface_pointer_constraints_data = 0;