827dae16c3962a0e1a3427c01573cbc42a985bbc

Author
chrisruff <chrisruff@live.ca>
Committer
chrisruff <chrisruff@live.ca>
Date

Message

Remove Shifting to other monitors

This worked but ignored all the logic within shift or get focus
(probably had some unintended consequences)

Diff

 1diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
 2index 0ec0452c68d463c96f818901fbb283c90b2eb260..737c6e9f13b4ac0e6a3f50595fa35d5ffe709f77 100644
 3--- a/src/Hy3Layout.cpp
 4+++ b/src/Hy3Layout.cpp
 5@@ -1704,11 +1704,7 @@ Hy3Node* Hy3Layout::shiftOrGetFocus(
 6 			if (!shift) {
 7 				auto node_opt = focusMonitor(direction);
 8 				return node_opt.value_or(nullptr);
 9-			} else {
10-				shiftMonitor(node, direction, true);
11-				return nullptr;
12 			}
13-
14 			// if we haven't gone up any levels and the group is in the same direction
15 			// there's no reason to wrap the root group.
16 			if (group.layout != Hy3GroupLayout::Tabbed && shiftMatchesLayout(group.layout, direction)) {