From e7a8ea84c36ea8565626da35aed4362805b4e802 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 27 May 2020 18:16:03 +0200 Subject: backend/drm: don't set cursor if off-screen Closes: https://github.com/swaywm/wlroots/issues/2216 --- include/backend/drm/drm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 7755da59..83fb6293 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -152,6 +152,7 @@ void scan_drm_connectors(struct wlr_drm_backend *state); int handle_drm_event(int fd, uint32_t mask, void *data); bool drm_connector_set_mode(struct wlr_drm_connector *conn, struct wlr_output_mode *mode); +bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn); size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm, struct wlr_drm_crtc *crtc); -- cgit v1.2.3