diff options
author | emersion <contact@emersion.fr> | 2018-08-13 14:43:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 14:43:57 +0100 |
commit | 1a73baac94a18e55be3a22aab4ca8fee35225941 (patch) | |
tree | 76eb246a832dd11d235327d1c9c67ea7560b7c75 /include/wlr | |
parent | 4ed6ee0a4d112711c3764b9b5d0d44ec916fb48a (diff) | |
parent | 4486b52aa8e5e5273a779908ad8e823fa1bd2812 (diff) |
Merge pull request #1187 from ammen99/master
move wlr_drm_connector_add_mode to wlr/backend/drm.h
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/backend/drm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h index a8a5525e..5d47647d 100644 --- a/include/wlr/backend/drm.h +++ b/include/wlr/backend/drm.h @@ -28,6 +28,12 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display, bool wlr_backend_is_drm(struct wlr_backend *backend); bool wlr_output_is_drm(struct wlr_output *output); +/** + * Add mode to the list of available modes + */ +typedef struct _drmModeModeInfo drmModeModeInfo; +bool wlr_drm_connector_add_mode(struct wlr_output *output, const drmModeModeInfo *mode); + struct wlr_session *wlr_drm_backend_get_session(struct wlr_backend *backend); #endif |