mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01: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
1 changed files with 0 additions and 2 deletions
|
@ -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_y -= hotspot_y - conn->cursor_hotspot_y;
|
||||||
conn->cursor_hotspot_x = hotspot_x;
|
conn->cursor_hotspot_x = hotspot_x;
|
||||||
conn->cursor_hotspot_y = hotspot_y;
|
conn->cursor_hotspot_y = hotspot_y;
|
||||||
|
|
||||||
wlr_output_update_needs_frame(output);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
conn->cursor_enabled = false;
|
conn->cursor_enabled = false;
|
||||||
|
|
Loading…
Reference in a new issue