fix: for exclusive keyboard interactivity layer must be >= Top

moves osk to overlay
This commit is contained in:
Ashley Wulber 2026-09-22 17:39:26 -04:00 • committed by Jeremy Soller
parent 4c1e532b69
commit b87331f4eb

View file

@ -282,6 +282,7 @@ pub fn main() -> Result<(), Box<dyn Error>> {
}; };
match process::Command::new("cosmic-osk") match process::Command::new("cosmic-osk")
.arg("overlay")
.env("RUST_LOG", "cosmic_osk=info") .env("RUST_LOG", "cosmic_osk=info")
.spawn() .spawn()
{ {
@ -1335,7 +1336,7 @@ impl cosmic::Application for App {
let output = output.clone(); let output = output.clone();
SctkLayerSurfaceSettings { SctkLayerSurfaceSettings {
id: surface_id, id: surface_id,
layer: Layer::Bottom, layer: Layer::Top,
keyboard_interactivity: KeyboardInteractivity::Exclusive, keyboard_interactivity: KeyboardInteractivity::Exclusive,
input_zone: None, input_zone: None,
anchor: Anchor::TOP anchor: Anchor::TOP