tree: render top layer over fullscreen windows
This commit is contained in:
parent
3c074fe4cf
commit
a8f627f15c
2 changed files with 2 additions and 7 deletions
|
|
@ -536,7 +536,7 @@ impl Node for OutputNode {
|
|||
return FindTreeResult::AcceptsInput;
|
||||
}
|
||||
{
|
||||
let res = self.find_layer_surface_at(x, y, &[OVERLAY], tree);
|
||||
let res = self.find_layer_surface_at(x, y, &[OVERLAY, TOP], tree);
|
||||
if res.accepts_input() {
|
||||
return res;
|
||||
}
|
||||
|
|
@ -551,12 +551,6 @@ impl Node for OutputNode {
|
|||
return fs.tl_as_node().node_find_tree_at(x, y, tree);
|
||||
}
|
||||
}
|
||||
{
|
||||
let res = self.find_layer_surface_at(x, y, &[TOP], tree);
|
||||
if res.accepts_input() {
|
||||
return res;
|
||||
}
|
||||
}
|
||||
{
|
||||
let (x_abs, y_abs) = self.global.pos.get().translate_inv(x, y);
|
||||
for stacked in self.state.root.stacked.rev_iter() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue