From 2b552784209cd6eb2ae8fab1d016d985ed2af430 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Fri, 11 Oct 2024 14:21:18 +0200 Subject: [PATCH] xwayland: respect input region --- src/ifs/wl_surface/x_surface/xwindow.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ifs/wl_surface/x_surface/xwindow.rs b/src/ifs/wl_surface/x_surface/xwindow.rs index b5208c5d..b558ebe3 100644 --- a/src/ifs/wl_surface/x_surface/xwindow.rs +++ b/src/ifs/wl_surface/x_surface/xwindow.rs @@ -347,12 +347,7 @@ impl Node for Xwindow { } let rect = self.x.surface.buffer_abs_pos.get(); if x < rect.width() && y < rect.height() { - tree.push(FoundNode { - node: self.x.surface.clone(), - x, - y, - }); - return FindTreeResult::AcceptsInput; + return self.x.surface.find_tree_at_(x, y, tree); } FindTreeResult::Other }