1
0
mirror of https://codeberg.org/vyivel/dulcepan/ synced 2025-03-12 18:59:15 +02:00

select: redraw on interaction start

This fixes a mismatch between the actual selection and its visual
representation when the right mouse button is clicked but not moved
(easier to reproduce with animations disabled).
This commit is contained in:
Kirill Primak 2025-01-30 22:27:28 +03:00
parent d2620c60c5
commit 7cc26b8e38

View File

@ -187,6 +187,8 @@ void dp_select_start_interactive(struct dp_selection *selection, struct dp_outpu
selection->resize_edges = DP_EDGE_BOTTOM | DP_EDGE_RIGHT;
init_resize(selection, x, y);
dp_output_redraw(output);
}
void dp_select_stop_interactive(struct dp_selection *selection) {