From 4221c2861d40a92a7c66abc40dd9db70dd207096 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Tue, 3 May 2022 13:06:37 +0200 Subject: [PATCH] shell: set active output on activate --- src/shell/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell/mod.rs b/src/shell/mod.rs index e12bad83..51324bc1 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -4,7 +4,7 @@ use crate::wayland::workspace as ext_work; use crate::{ config::{Config, OutputConfig}, - input::active_output, + input::{active_output, set_active_output}, state::Common, }; pub use smithay::{ @@ -397,6 +397,7 @@ impl Shell { SERIAL_COUNTER.next_serial(), 0, ); + set_active_output(seat, output); return; } }