mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
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:
parent
469adc46d6
commit
ec2522fec8
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue