shell: set active output on activate
This commit is contained in:
parent
0c67c6b1b3
commit
4221c2861d
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue