tiling: Allow orientation of active container to be swapped
This commit is contained in:
parent
2c311c67d1
commit
b3ff2a7ca3
9 changed files with 105 additions and 18 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use crate::{input::active_output, state::State, utils::SurfaceDropNotifier};
|
||||
use crate::{config::Config, input::active_output, state::State, utils::SurfaceDropNotifier};
|
||||
use smithay::{
|
||||
backend::renderer::utils::on_commit_buffer_handler,
|
||||
desktop::{
|
||||
|
|
@ -27,7 +27,7 @@ use smithay::{
|
|||
};
|
||||
use std::{cell::Cell, rc::Rc, sync::Mutex};
|
||||
|
||||
pub fn init_shell(display: &mut Display) -> super::Shell {
|
||||
pub fn init_shell(config: &Config, display: &mut Display) -> super::Shell {
|
||||
compositor_init(
|
||||
display,
|
||||
move |surface, mut ddata| {
|
||||
|
|
@ -234,7 +234,7 @@ pub fn init_shell(display: &mut Display) -> super::Shell {
|
|||
None,
|
||||
);
|
||||
|
||||
super::Shell::new(popup_grab)
|
||||
super::Shell::new(config, popup_grab)
|
||||
}
|
||||
|
||||
fn check_grab_preconditions(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue