xwayland: respect input region
This commit is contained in:
parent
5df018046c
commit
2b55278420
1 changed files with 1 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue