Lines
100 %
Functions
50 %
Branches
//! The size/move mode: the keys that change the window until it is kept or put back.
use super::Intent;
use crate::app::App;
pub(super) fn handle(app: &mut App, intent: Intent) {
match intent {
Intent::Drag(change) => app.drag_by(change),
Intent::DragDone => app.end_drag(true),
Intent::DragCancel => app.end_drag(false),
_ => {}
}