aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-31 17:08:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-31 17:08:51 +0000
commit03f952cf4dcf45d909ce209838a3beb4304358e5 (patch)
treedd5a0718daa3b11c7e7ae8af923a54afcf260e88 /input.c
parentterm: rename: slave_died() -> fdm_client_terminated() (diff)
term: consolidate shutdown related state into an anonymous struct
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
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);