aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-02-10 09:01:51 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-02-10 09:01:51 +0000
commit3c86af52c2a3e9352a88e969392575e55c3b6f74 (patch)
treedeed54e12bea0689caaad21f76f4f56b92e68d92 /input.c
parentConvert some more uses of xassert(false) to BUG("...") (diff)
Convert all but 2 remaining uses of xassert(false) to BUG("...")
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 944f1336..64ab2065 100644
--- a/input.c
+++ b/input.c
@@ -1225,7 +1225,7 @@ wl_pointer_enter(void *data, struct wl_pointer *wl_pointer,
break;
case TERM_SURF_NONE:
- xassert(false);
+ BUG("Invalid surface type");
break;
}
}
@@ -1806,7 +1806,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
}
case TERM_SURF_NONE:
- xassert(false);
+ BUG("Invalid surface type");
break;
}