monitor-manager: Some trivial style fixes

https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
Jonas Ådahl 2016-12-21 11:17:27 +08:00
parent be13d0f8ee
commit 0c42faf34d

View File

@ -61,7 +61,8 @@ typedef struct _MetaCrtcInfo MetaCrtcInfo;
typedef struct _MetaOutputInfo MetaOutputInfo;
typedef struct _MetaTileInfo MetaTileInfo;
typedef enum {
typedef enum
{
META_MONITOR_TRANSFORM_NORMAL,
META_MONITOR_TRANSFORM_90,
META_MONITOR_TRANSFORM_180,
@ -73,7 +74,8 @@ typedef enum {
} MetaMonitorTransform;
/* This matches the values in drm_mode.h */
typedef enum {
typedef enum
{
META_CONNECTOR_TYPE_Unknown = 0,
META_CONNECTOR_TYPE_VGA = 1,
META_CONNECTOR_TYPE_DVII = 2,
@ -93,7 +95,8 @@ typedef enum {
META_CONNECTOR_TYPE_DSI = 16,
} MetaConnectorType;
struct _MetaTileInfo {
struct _MetaTileInfo
{
guint32 group_id;
guint32 flags;
guint32 max_h_tiles;
@ -207,7 +210,8 @@ struct _MetaCrtcMode
* Note: differently from the other structures in this file, MetaCrtcInfo
* is handled by pointer. This is to accomodate the usage in MetaMonitorConfig
*/
struct _MetaCrtcInfo {
struct _MetaCrtcInfo
{
MetaCrtc *crtc;
MetaCrtcMode *mode;
int x;
@ -220,7 +224,8 @@ struct _MetaCrtcInfo {
* MetaOutputInfo:
* this is the same as MetaCrtcInfo, but for outputs
*/
struct _MetaOutputInfo {
struct _MetaOutputInfo
{
MetaOutput *output;
gboolean is_primary;
gboolean is_presentation;