You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the auto-* positions were added in #5670, it was decided that the first monitor should always be placed at 0x0, however the way it was implemented was that the first monitor rule should be set to auto-right, which would then place the first monitor at 0x0.
// If this is the first monitor rule needs to be on the right.
if (ARGS[2] == "auto-right" || ARGS[2] == "auto" || m_dMonitorRules.empty())
newrule.autoDir = eAutoDirs::DIR_AUTO_RIGHT;
elseif (ARGS[2] == "auto-left")
newrule.autoDir = eAutoDirs::DIR_AUTO_LEFT;
elseif (ARGS[2] == "auto-up")
newrule.autoDir = eAutoDirs::DIR_AUTO_UP;
elseif (ARGS[2] == "auto-down")
newrule.autoDir = eAutoDirs::DIR_AUTO_DOWN;
This works alright assuming there's a 1:1 mapping between rules and monitors, but then you can't do this:
monitor=,preferred,auto-left,auto
Since this is the first (and only) rule it gets converted to auto-right, and then ALL monitors are arranged left-to-right, instead of right-to-left as requested.
The text was updated successfully, but these errors were encountered:
please follow the templates. Also make sure it's not #8518
I wasn't sure if this was right for the bug template as I felt I had already identified the issue, and I didn't want to share my system info as I don't believe it's system dependant.
This is not #8518. Here monitors are arranged in valid way just not in the way specified, as opposed to #8518 where monitors positions are invalid.
When the auto-* positions were added in #5670, it was decided that the first monitor should always be placed at 0x0, however the way it was implemented was that the first monitor rule should be set to
auto-right
, which would then place the first monitor at 0x0.Hyprland/src/config/ConfigManager.cpp
Lines 1944 to 1952 in 67cee43
This works alright assuming there's a 1:1 mapping between rules and monitors, but then you can't do this:
Since this is the first (and only) rule it gets converted to
auto-right
, and then ALL monitors are arranged left-to-right, instead of right-to-left as requested.The text was updated successfully, but these errors were encountered: