orientation-manager: Expose the number of valid orientations
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1233>
This commit is contained in:
parent
617e1b30e2
commit
f1228c4a51
@ -32,6 +32,7 @@ typedef enum
|
|||||||
META_ORIENTATION_LEFT_UP,
|
META_ORIENTATION_LEFT_UP,
|
||||||
META_ORIENTATION_RIGHT_UP
|
META_ORIENTATION_RIGHT_UP
|
||||||
} MetaOrientation;
|
} MetaOrientation;
|
||||||
|
#define META_N_ORIENTATIONS (META_ORIENTATION_RIGHT_UP + 1)
|
||||||
|
|
||||||
#define META_TYPE_ORIENTATION_MANAGER (meta_orientation_manager_get_type ())
|
#define META_TYPE_ORIENTATION_MANAGER (meta_orientation_manager_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (MetaOrientationManager, meta_orientation_manager,
|
G_DECLARE_FINAL_TYPE (MetaOrientationManager, meta_orientation_manager,
|
||||||
|
Loading…
Reference in New Issue
Block a user