From f1228c4a51c0234daa5c6f98d874099635bd94b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 5 May 2020 17:51:48 +0200 Subject: [PATCH] orientation-manager: Expose the number of valid orientations Part-of: --- src/backends/meta-orientation-manager.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/meta-orientation-manager.h b/src/backends/meta-orientation-manager.h index 9ae87957d..9ceefb81e 100644 --- a/src/backends/meta-orientation-manager.h +++ b/src/backends/meta-orientation-manager.h @@ -32,6 +32,7 @@ typedef enum META_ORIENTATION_LEFT_UP, META_ORIENTATION_RIGHT_UP } MetaOrientation; +#define META_N_ORIENTATIONS (META_ORIENTATION_RIGHT_UP + 1) #define META_TYPE_ORIENTATION_MANAGER (meta_orientation_manager_get_type ()) G_DECLARE_FINAL_TYPE (MetaOrientationManager, meta_orientation_manager,