Hi!
I’m currently trying to create a layer shell which should be used as a surface for my “wallpaper” (I’d like to render my own stuff on it).
But somehow after creating the layer shell I’m not able to interact with the desktop anymore. Like right-clicking with the mouse isn’t possible anymore or left clicking the icons on the desktop.
Here’s my code how I’m creating the layer shell:
let layer_surface = self.layer_shell.create_layer_surface(
qh,
wl_surface,
Layer::Background,
Some(format!("{} background", vibe_daemon::APP_NAME)),
Some(&output),
);
layer_surface.set_exclusive_zone(-69); // nice! (arbitrary chosen :P hehe)
layer_surface.set_anchor(Anchor::BOTTOM);
layer_surface.set_size(size.width, size.height);
layer_surface.set_keyboard_interactivity(KeyboardInteractivity::None);
layer_surface.commit();
Does anyone know how I can fix that? Am I choosing a wrong parameter here?