input: Filter resize mode key combinations

This commit is contained in:
Victoria Brekenfeld 2023-06-28 21:29:39 +02:00
parent 8c52fc6eb1
commit 997223f20a
4 changed files with 96 additions and 4 deletions

View file

@ -1187,6 +1187,17 @@ impl Shell {
self.resize_mode.clone()
}
pub fn resize_active_window(
&mut self,
seat: &Seat<State>,
direction: ResizeDirection,
edge: ResizeEdge,
) {
self.workspaces
.active_mut(&seat.active_output())
.resize(seat, direction, edge);
}
pub fn refresh(&mut self) {
#[cfg(feature = "debug")]
puffin::profile_function!();