aboutsummaryrefslogtreecommitdiff
path: root/tinywl/tinywl.c
diff options
context:
space:
mode:
authorJohn Lindgren <john@jlindgren.net>2022-09-21 13:41:48 -0400
committerJohn Lindgren <john@jlindgren.net>2022-09-21 14:25:09 -0400
commit5417a182e535da11348b87102cd5964d2fc476d0 (patch)
tree9d32898d69dd18736124cb58f611bf7bf0f2037b /tinywl/tinywl.c
parent8e8b9a72173727f125af227aaf671c38f7640db3 (diff)
cursor: Add a more general check for infinite/NaN cursor position
It should be considered a bug if a compositor sets a non-finite cursor position, so fail loudly (in debug builds) if that happens. The existing check in wlr_cursor_warp_closest() is now redundant, and would silently hide such bugs, so remove it.
Diffstat (limited to 'tinywl/tinywl.c')
0 files changed, 0 insertions, 0 deletions