aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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