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:
LGUG2Z
2024-05-12 12:32:34 -07:00
parent e4bc74f7ea
commit f0c8143503
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -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(