mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-20 02:36:55 +02:00
feat(wm): add noop cross-monitor-move-behaviour
This commit adds a new "NoOp" MoveBehaviour for users who don't want any moves to happen across monitor boundaries. The toggle-cross-monitor-move-behaviour will only toggle between Swap and Insert, and will do nothing if NoOp is the selected MoveBehaviour. resolve #667
This commit is contained in:
@@ -283,6 +283,8 @@ pub enum MoveBehaviour {
|
||||
Swap,
|
||||
/// Insert the window container into the focused workspace on the adjacent monitor
|
||||
Insert,
|
||||
/// Do nothing if trying to move a window container in the direction of an adjacent monitor
|
||||
NoOp,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
|
||||
Reference in New Issue
Block a user