From bf8fb0ac242ee44393d88da85c4c31c0718a8d71 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Mon, 8 Jul 2024 17:40:05 +0200 Subject: [PATCH] input: Fix broken confinement check --- src/input/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/mod.rs b/src/input/mod.rs index a8ca1a7f..c71bed8f 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -597,7 +597,7 @@ impl State { (0, 0), WindowSurfaceType::ALL, ) - .is_some() + .is_none() { ptr.frame(self); return;