shell: set active output on activate

This commit is contained in:
Victoria Brekenfeld 2022-05-03 13:06:37 +02:00
parent 0c67c6b1b3
commit 4221c2861d

View file

@ -4,7 +4,7 @@
use crate::wayland::workspace as ext_work; use crate::wayland::workspace as ext_work;
use crate::{ use crate::{
config::{Config, OutputConfig}, config::{Config, OutputConfig},
input::active_output, input::{active_output, set_active_output},
state::Common, state::Common,
}; };
pub use smithay::{ pub use smithay::{
@ -397,6 +397,7 @@ impl Shell {
SERIAL_COUNTER.next_serial(), SERIAL_COUNTER.next_serial(),
0, 0,
); );
set_active_output(seat, output);
return; return;
} }
} }