tiling: Exclude maximized windows from input/render
This commit is contained in:
parent
24bf2e856a
commit
8a32571b8a
2 changed files with 15 additions and 0 deletions
|
|
@ -1107,6 +1107,9 @@ impl Workspace {
|
|||
pub fn node_desc(&self, focus: KeyboardFocusTarget) -> Option<NodeDesc> {
|
||||
match focus {
|
||||
KeyboardFocusTarget::Element(mapped) => {
|
||||
if mapped.is_maximized(false) {
|
||||
return None;
|
||||
}
|
||||
self.tiling_layer.mapped().find_map(|(m, _)| {
|
||||
if m == &mapped {
|
||||
mapped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue