aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-27 18:16:03 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-27 21:01:20 +0200
commite7a8ea84c36ea8565626da35aed4362805b4e802 (patch)
tree2018e036fe7d9de7cca9dbdbdda45d4123f6f933 /include
parent59471606309b2f4f9b215dd0abd49f2af4b38abc (diff)
backend/drm: don't set cursor if off-screen
Closes: https://github.com/swaywm/wlroots/issues/2216
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
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);