tiling: Allow orientation of active container to be swapped

This commit is contained in:
Victoria Brekenfeld 2022-03-29 14:41:09 +02:00
parent 2c311c67d1
commit b3ff2a7ca3
9 changed files with 105 additions and 18 deletions

View file

@ -135,9 +135,10 @@ impl State {
handle: LoopHandle<'static, State>,
log: LogState,
) -> State {
let config = Config::load();
init_shm_global(&mut display, vec![], None);
init_xdg_output_manager(&mut display, None);
let shell = init_shell(&mut display);
let shell = init_shell(&config, &mut display);
let initial_seat = crate::input::add_seat(&mut display, "seat-0".into());
init_data_device(
&mut display,
@ -170,8 +171,7 @@ impl State {
State {
common: Common {
config: Config::load(),
config,
display: Rc::new(RefCell::new(display)),
socket,
event_loop_handle: handle,