cursor: Update SSD hover state in cursor_rebase()

Fixes an issue where the maximize button would remain highlighted
after maximized a window.
This commit is contained in:
John Lindgren 2022-09-06 12:05:47 -04:00
parent 469adc46d6
commit ec2522fec8

View file

@ -43,6 +43,8 @@ cursor_rebase(struct seat *seat, uint32_t time_msec, bool force)
surface = lab_wlr_surface_from_node(node); surface = lab_wlr_surface_from_node(node);
} }
ssd_update_button_hover(node, &seat->server->ssd_hover_state);
if (surface) { if (surface) {
if (!force && surface == seat->seat->pointer_state.focused_surface) { if (!force && surface == seat->seat->pointer_state.focused_surface) {
/* /*