mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: consolidate shutdown related state into an anonymous struct
This commit is contained in:
parent
c23bff4189
commit
03f952cf4d
5 changed files with 48 additions and 39 deletions
2
input.c
2
input.c
|
|
@ -1471,7 +1471,7 @@ wl_pointer_leave(void *data, struct wl_pointer *wl_pointer,
|
|||
case TERM_SURF_BUTTON_MINIMIZE:
|
||||
case TERM_SURF_BUTTON_MAXIMIZE:
|
||||
case TERM_SURF_BUTTON_CLOSE:
|
||||
if (old_moused->is_shutting_down)
|
||||
if (old_moused->shutdown.in_progress)
|
||||
break;
|
||||
|
||||
render_refresh_csd(old_moused);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue