From: John Lindgren Date: Tue, 6 Sep 2022 16:05:47 +0000 (-0400) Subject: cursor: Update SSD hover state in cursor_rebase() X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=ec2522fec814371e79dd441b74ad91adff4e2651;p=proto%2Flabwc.git cursor: Update SSD hover state in cursor_rebase() Fixes an issue where the maximize button would remain highlighted after maximized a window. --- diff --git a/src/cursor.c b/src/cursor.c index 3fc8efa4..58df0608 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -43,6 +43,8 @@ cursor_rebase(struct seat *seat, uint32_t time_msec, bool force) surface = lab_wlr_surface_from_node(node); } + ssd_update_button_hover(node, &seat->server->ssd_hover_state); + if (surface) { if (!force && surface == seat->seat->pointer_state.focused_surface) { /*