From e708f546153f74acf33eb183b3b2992587a701e5 Mon Sep 17 00:00:00 2001 From: Jon Heinritz Date: Fri, 27 Feb 2026 16:03:42 +0100 Subject: [PATCH] winit: add an `app-id` when running `niri` in nested mode in nested mode --- src/backend/winit.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/winit.rs b/src/backend/winit.rs index 92132bd4..beace1dc 100644 --- a/src/backend/winit.rs +++ b/src/backend/winit.rs @@ -14,6 +14,7 @@ use smithay::output::{Mode, Output, PhysicalProperties, Subpixel}; use smithay::reexports::calloop::LoopHandle; use smithay::reexports::wayland_protocols::wp::presentation_time::server::wp_presentation_feedback; use smithay::reexports::winit::dpi::LogicalSize; +use smithay::reexports::winit::platform::wayland::WindowAttributesExtWayland; use smithay::reexports::winit::window::Window; use smithay::wayland::presentation::Refresh; @@ -41,7 +42,8 @@ impl Winit { let builder = Window::default_attributes() .with_inner_size(LogicalSize::new(1280.0, 800.0)) // .with_resizable(false) - .with_title("niri"); + .with_title("niri") + .with_name("niri", ""); let (backend, winit) = winit::init_from_attributes(builder)?; let output = Output::new(