From 03f952cf4dcf45d909ce209838a3beb4304358e5 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 31 Jul 2021 19:08:51 +0200 Subject: term: consolidate shutdown related state into an anonymous struct --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index 9cf18b53..c7077e0d 100644 --- a/input.c +++ b/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); -- cgit v1.3