From c8c66191460387d9578b336d6ff624b0b10db698 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 14 Aug 2017 08:03:51 -0400 Subject: Refactor out wlr_output_mode_state --- include/backend/drm.h | 4 ++-- include/wlr/types/wlr_output.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'include') 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 #include -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 -- cgit v1.2.3