fix(input): match layer keyboard focus to fullscreen visibility (#49)
* fix(input): require mapped layers for keyboard focus * fix(input): match layer keyboard focus to fullscreen visibility --------- Co-authored-by: Samuel Onoja <[email protected]>
This commit is contained in:
1 parent
b5f7793870
commit
9251522a69
8 files changed
+314
-6
No files matched your search
@@ -126,7 +126,7 @@ fn scene_elements(
|
||||
} else {
|
||||
Vec::new()
|
||||
};
|
||||
let upper_layers: &[Layer] = if state.output_has_fullscreen_for_frame(output, frame.overview.is_presenting()) {
|
||||
let upper_layers: &[Layer] = if !state.layer_visible_for_frame(output, Layer::Top, frame.overview.is_presenting()) {
|
||||
&[Layer::Overlay]
|
||||
} else {
|
||||
&[Layer::Overlay, Layer::Top]
|
||||
|
||||
Reference in new issue
Block a user