mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 00:22:25 +00:00
backend/drm: remove duplicate needs_frame() in set_cursor()
wlr_output_update_needs_frame() is called unconditionally at the end of the function already.
This commit is contained in:
parent
71b57b8d27
commit
cbcd99435f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user