feat: workspace switching touchpad gestures
This commit is contained in:
parent
f1d8225ddb
commit
fc2173d028
9 changed files with 767 additions and 89 deletions
|
|
@ -1,6 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use crate::{
|
||||
shell::WorkspaceDelta,
|
||||
state::ClientState,
|
||||
utils::prelude::*,
|
||||
wayland::protocols::workspace::{
|
||||
|
|
@ -38,7 +39,11 @@ impl WorkspaceHandler for State {
|
|||
});
|
||||
|
||||
if let Some((output, idx)) = maybe {
|
||||
let _ = self.common.shell.activate(&output, idx); // TODO: move cursor?
|
||||
let _ = self.common.shell.activate(
|
||||
&output,
|
||||
idx,
|
||||
WorkspaceDelta::new_shortcut(),
|
||||
); // TODO: move cursor?
|
||||
}
|
||||
}
|
||||
Request::SetTilingState { workspace, state } => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue