mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Use a consistent style for enum braces
https://gitlab.gnome.org/GNOME/mutter/merge_requests/361
This commit is contained in:

committed by
Niels De Graef

parent
ca0b6fc3ac
commit
1c6ea5d1db
@ -70,7 +70,8 @@ void meta_barrier_release (MetaBarrier *barrier,
|
||||
*/
|
||||
|
||||
/* Keep in sync with XFixes */
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
META_BARRIER_DIRECTION_POSITIVE_X = 1 << 0,
|
||||
META_BARRIER_DIRECTION_POSITIVE_Y = 1 << 1,
|
||||
META_BARRIER_DIRECTION_NEGATIVE_X = 1 << 2,
|
||||
|
@ -54,7 +54,8 @@ typedef enum
|
||||
META_COMP_EFFECT_NONE
|
||||
} MetaCompEffect;
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
META_SIZE_CHANGE_MAXIMIZE,
|
||||
META_SIZE_CHANGE_UNMAXIMIZE,
|
||||
META_SIZE_CHANGE_FULLSCREEN,
|
||||
|
@ -367,7 +367,8 @@ meta_plugin_complete_display_change (MetaPlugin *plugin,
|
||||
*
|
||||
* Options that can be provided when calling meta_plugin_begin_modal().
|
||||
*/
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
META_MODAL_POINTER_ALREADY_GRABBED = 1 << 0,
|
||||
META_MODAL_KEYBOARD_ALREADY_GRABBED = 1 << 1
|
||||
} MetaModalOptions;
|
||||
|
@ -46,7 +46,8 @@ void meta_window_actor_sync_visibility (MetaWindowActor *self
|
||||
META_EXPORT
|
||||
gboolean meta_window_actor_is_destroyed (MetaWindowActor *self);
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
META_SHADOW_MODE_AUTO,
|
||||
META_SHADOW_MODE_FORCED_OFF,
|
||||
META_SHADOW_MODE_FORCED_ON,
|
||||
|
@ -198,7 +198,8 @@ GPid meta_show_dialog (const char *type,
|
||||
* @META_LATER_IDLE: call at a very low priority (can be blocked
|
||||
* by running animations or redrawing applications)
|
||||
**/
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
META_LATER_RESIZE,
|
||||
META_LATER_CALC_SHOWING,
|
||||
META_LATER_CHECK_FULLSCREEN,
|
||||
|
@ -86,7 +86,8 @@ typedef enum
|
||||
* @META_WINDOW_CLIENT_TYPE_WAYLAND: A Wayland based window
|
||||
* @META_WINDOW_CLIENT_TYPE_X11: An X11 based window
|
||||
*/
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
META_WINDOW_CLIENT_TYPE_WAYLAND,
|
||||
META_WINDOW_CLIENT_TYPE_X11
|
||||
} MetaWindowClientType;
|
||||
|
Reference in New Issue
Block a user