aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-14 08:03:51 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-14 08:03:51 -0400
commitc8c66191460387d9578b336d6ff624b0b10db698 (patch)
tree959fdf37d3da424c69781d1b20eea0f9812a7a1b /include
parentf11b38f97ad7eee040339604100fe545cbf77bb5 (diff)
Refactor out wlr_output_mode_state
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm.h4
-rw-r--r--include/wlr/types/wlr_output.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/include/backend/drm.h b/include/backend/drm.h
index 858b4616..25bbd1f7 100644
--- a/include/backend/drm.h
+++ b/include/backend/drm.h
@@ -133,8 +133,8 @@ enum wlr_drm_output_state {
WLR_DRM_OUTPUT_CONNECTED,
};
-struct wlr_output_mode_state {
- struct wlr_wl_output_mode *wlr_mode;
+struct wlr_drm_output_mode {
+ struct wlr_output_mode wlr_mode;
drmModeModeInfo mode;
};
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index a669e3bb..11160d33 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -4,10 +4,7 @@
#include <wlr/util/list.h>
#include <stdbool.h>
-struct wlr_output_mode_state;
-
struct wlr_output_mode {
- struct wlr_output_mode_state *state;
uint32_t flags; // enum wl_output_mode
int32_t width, height;
int32_t refresh; // mHz