mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
monitor-manager: Some trivial style fixes
https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
parent
be13d0f8ee
commit
0c42faf34d
@ -47,7 +47,7 @@
|
|||||||
#include "meta-dbus-display-config.h"
|
#include "meta-dbus-display-config.h"
|
||||||
#include "meta-cursor.h"
|
#include "meta-cursor.h"
|
||||||
|
|
||||||
typedef struct _MetaMonitorConfig MetaMonitorConfig;
|
typedef struct _MetaMonitorConfig MetaMonitorConfig;
|
||||||
|
|
||||||
typedef struct _MetaMonitor MetaMonitor;
|
typedef struct _MetaMonitor MetaMonitor;
|
||||||
typedef struct _MetaMonitorNormal MetaMonitorNormal;
|
typedef struct _MetaMonitorNormal MetaMonitorNormal;
|
||||||
@ -61,7 +61,8 @@ typedef struct _MetaCrtcInfo MetaCrtcInfo;
|
|||||||
typedef struct _MetaOutputInfo MetaOutputInfo;
|
typedef struct _MetaOutputInfo MetaOutputInfo;
|
||||||
typedef struct _MetaTileInfo MetaTileInfo;
|
typedef struct _MetaTileInfo MetaTileInfo;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum
|
||||||
|
{
|
||||||
META_MONITOR_TRANSFORM_NORMAL,
|
META_MONITOR_TRANSFORM_NORMAL,
|
||||||
META_MONITOR_TRANSFORM_90,
|
META_MONITOR_TRANSFORM_90,
|
||||||
META_MONITOR_TRANSFORM_180,
|
META_MONITOR_TRANSFORM_180,
|
||||||
@ -73,7 +74,8 @@ typedef enum {
|
|||||||
} MetaMonitorTransform;
|
} MetaMonitorTransform;
|
||||||
|
|
||||||
/* This matches the values in drm_mode.h */
|
/* This matches the values in drm_mode.h */
|
||||||
typedef enum {
|
typedef enum
|
||||||
|
{
|
||||||
META_CONNECTOR_TYPE_Unknown = 0,
|
META_CONNECTOR_TYPE_Unknown = 0,
|
||||||
META_CONNECTOR_TYPE_VGA = 1,
|
META_CONNECTOR_TYPE_VGA = 1,
|
||||||
META_CONNECTOR_TYPE_DVII = 2,
|
META_CONNECTOR_TYPE_DVII = 2,
|
||||||
@ -93,7 +95,8 @@ typedef enum {
|
|||||||
META_CONNECTOR_TYPE_DSI = 16,
|
META_CONNECTOR_TYPE_DSI = 16,
|
||||||
} MetaConnectorType;
|
} MetaConnectorType;
|
||||||
|
|
||||||
struct _MetaTileInfo {
|
struct _MetaTileInfo
|
||||||
|
{
|
||||||
guint32 group_id;
|
guint32 group_id;
|
||||||
guint32 flags;
|
guint32 flags;
|
||||||
guint32 max_h_tiles;
|
guint32 max_h_tiles;
|
||||||
@ -207,7 +210,8 @@ struct _MetaCrtcMode
|
|||||||
* Note: differently from the other structures in this file, MetaCrtcInfo
|
* Note: differently from the other structures in this file, MetaCrtcInfo
|
||||||
* is handled by pointer. This is to accomodate the usage in MetaMonitorConfig
|
* is handled by pointer. This is to accomodate the usage in MetaMonitorConfig
|
||||||
*/
|
*/
|
||||||
struct _MetaCrtcInfo {
|
struct _MetaCrtcInfo
|
||||||
|
{
|
||||||
MetaCrtc *crtc;
|
MetaCrtc *crtc;
|
||||||
MetaCrtcMode *mode;
|
MetaCrtcMode *mode;
|
||||||
int x;
|
int x;
|
||||||
@ -220,7 +224,8 @@ struct _MetaCrtcInfo {
|
|||||||
* MetaOutputInfo:
|
* MetaOutputInfo:
|
||||||
* this is the same as MetaCrtcInfo, but for outputs
|
* this is the same as MetaCrtcInfo, but for outputs
|
||||||
*/
|
*/
|
||||||
struct _MetaOutputInfo {
|
struct _MetaOutputInfo
|
||||||
|
{
|
||||||
MetaOutput *output;
|
MetaOutput *output;
|
||||||
gboolean is_primary;
|
gboolean is_primary;
|
||||||
gboolean is_presentation;
|
gboolean is_presentation;
|
||||||
|
Loading…
Reference in New Issue
Block a user