diff options
author | Simon Ser <contact@emersion.fr> | 2023-06-26 11:49:38 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-06-26 11:49:38 +0200 |
commit | cbcd99435fbc94b8bf0191ccdc4664de20d00e45 (patch) | |
tree | 84148c15ac07e32f41ff7670418287307f95358e /backend/drm | |
parent | 71b57b8d27e2817ebcaa6471e22251203c370554 (diff) |
backend/drm: remove duplicate needs_frame() in set_cursor()
wlr_output_update_needs_frame() is called unconditionally at the
end of the function already.
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 7ead82ab..a4853ffa 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -931,8 +931,6 @@ static bool drm_connector_set_cursor(struct wlr_output *output, conn->cursor_y -= hotspot_y - conn->cursor_hotspot_y; conn->cursor_hotspot_x = hotspot_x; conn->cursor_hotspot_y = hotspot_y; - - wlr_output_update_needs_frame(output); } conn->cursor_enabled = false; |