winit: add an `app-id` when running `niri` in nested mode in nested mode
Browse files at this commite708f546153f74acf33eb183b3b2992587a701e5Parent: 2dc6f441 changed file +3 -1
- src/backend/winit.rs +3 -1
src/backend/winit.rsmodified+3 -1
| @@ -14,6 +14,7 @@ use smithay::output::{Mode, Output, PhysicalProperties, Subpixel}; | ||
| 14 | 14 | use smithay::reexports::calloop::LoopHandle; |
| 15 | 15 | use smithay::reexports::wayland_protocols::wp::presentation_time::server::wp_presentation_feedback; |
| 16 | 16 | use smithay::reexports::winit::dpi::LogicalSize; |
| 17 | +use smithay::reexports::winit::platform::wayland::WindowAttributesExtWayland; | |
| 17 | 18 | use smithay::reexports::winit::window::Window; |
| 18 | 19 | use smithay::wayland::presentation::Refresh; |
| 19 | 20 | |
| @@ -41,7 +42,8 @@ impl Winit { | ||
| 41 | 42 | let builder = Window::default_attributes() |
| 42 | 43 | .with_inner_size(LogicalSize::new(1280.0, 800.0)) |
| 43 | 44 | // .with_resizable(false) |
| 44 | - .with_title("niri"); | |
| 45 | + .with_title("niri") | |
| 46 | + .with_name("niri", ""); | |
| 45 | 47 | let (backend, winit) = winit::init_from_attributes(builder)?; |
| 46 | 48 | |
| 47 | 49 | let output = Output::new( |