diff --git a/src/backends/native/meta-backend-native.c b/src/backends/native/meta-backend-native.c index 45fb7b421..8f916642e 100644 --- a/src/backends/native/meta-backend-native.c +++ b/src/backends/native/meta-backend-native.c @@ -335,6 +335,12 @@ meta_backend_native_get_seat_id (MetaBackendNative *backend_native) return meta_launcher_get_seat_id (backend_native->launcher); } +gboolean +meta_backend_native_is_headless (MetaBackendNative *backend_native) +{ + return backend_native->is_headless; +} + static void meta_backend_native_set_pointer_constraint (MetaBackend *backend, MetaPointerConstraint *constraint) diff --git a/src/backends/native/meta-backend-native.h b/src/backends/native/meta-backend-native.h index b0d82d016..0c7df66db 100644 --- a/src/backends/native/meta-backend-native.h +++ b/src/backends/native/meta-backend-native.h @@ -49,4 +49,6 @@ MetaKms * meta_backend_native_get_kms (MetaBackendNative *native); const char * meta_backend_native_get_seat_id (MetaBackendNative *backend_native); +gboolean meta_backend_native_is_headless (MetaBackendNative *backend_native); + #endif /* META_BACKEND_NATIVE_H */