move wlr_drm_connector_add_mode to wlr/backend/drm.h

This commit is contained in:
Ilia Bozhinov 2018-08-13 09:37:44 +03:00
parent 4ed6ee0a4d
commit 4486b52aa8
3 changed files with 7 additions and 5 deletions

View file

@ -143,9 +143,5 @@ void restore_drm_outputs(struct wlr_drm_backend *drm);
void scan_drm_connectors(struct wlr_drm_backend *state);
int handle_drm_event(int fd, uint32_t mask, void *data);
void enable_drm_connector(struct wlr_output *output, bool enable);
/**
* Add mode to the list of available modes
*/
bool wlr_drm_connector_add_mode(struct wlr_output *output, const drmModeModeInfo *mode);
#endif