forge
Explore
Log in

Don't you dare go Hollow

winit: add an `app-id` when running `niri` in nested mode in nested mode

Browse files at this commit

e708f546153f74acf33eb183b3b2992587a701e5Jon HeinritzParent: 2dc6f44
src/backend/winit.rsmodified+3 -1
@@ -14,6 +14,7 @@ use smithay::output::{Mode, Output, PhysicalProperties, Subpixel};
1414 use smithay::reexports::calloop::LoopHandle;
1515 use smithay::reexports::wayland_protocols::wp::presentation_time::server::wp_presentation_feedback;
1616 use smithay::reexports::winit::dpi::LogicalSize;
17+use smithay::reexports::winit::platform::wayland::WindowAttributesExtWayland;
1718 use smithay::reexports::winit::window::Window;
1819 use smithay::wayland::presentation::Refresh;
1920
@@ -41,7 +42,8 @@ impl Winit {
4142 let builder = Window::default_attributes()
4243 .with_inner_size(LogicalSize::new(1280.0, 800.0))
4344 // .with_resizable(false)
44- .with_title("niri");
45+ .with_title("niri")
46+ .with_name("niri", "");
4547 let (backend, winit) = winit::init_from_attributes(builder)?;
4648
4749 let output = Output::new(