mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 19:29:49 +01:00
CONFIG COMPAT BREAK: removed mfact from mon cfg
This commit is contained in:
parent
883d389bc2
commit
5b8cdc6c43
4 changed files with 3 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
# Refer to the wiki for more information.
|
||||
|
||||
monitor=,1280x720@60,0x0,0.5,1
|
||||
monitor=,1280x720@60,0x0,1
|
||||
workspace=DP-1,1
|
||||
|
||||
input {
|
||||
|
|
|
@ -185,10 +185,6 @@ void CConfigManager::handleMonitor(const std::string& command, const std::string
|
|||
|
||||
nextItem();
|
||||
|
||||
newrule.mfact = stof(curitem);
|
||||
|
||||
nextItem();
|
||||
|
||||
newrule.scale = stof(curitem);
|
||||
|
||||
// overwrite if exists
|
||||
|
@ -547,7 +543,7 @@ SMonitorRule CConfigManager::getMonitorRuleFor(std::string name) {
|
|||
|
||||
Debug::log(WARN, "No rules configured. Using the default hardcoded one.");
|
||||
|
||||
return SMonitorRule{.name = "", .resolution = Vector2D(1280, 720), .offset = Vector2D(0, 0), .mfact = 0.5f, .scale = 1};
|
||||
return SMonitorRule{.name = "", .resolution = Vector2D(1280, 720), .offset = Vector2D(0, 0), .scale = 1};
|
||||
}
|
||||
|
||||
std::vector<SWindowRule> CConfigManager::getMatchingRules(CWindow* pWindow) {
|
||||
|
|
|
@ -22,7 +22,6 @@ struct SMonitorRule {
|
|||
std::string name = "";
|
||||
Vector2D resolution = Vector2D(1280,720);
|
||||
Vector2D offset = Vector2D(0,0);
|
||||
float mfact = 0.5;
|
||||
float scale = 1;
|
||||
float refreshRate = 60;
|
||||
int defaultWorkspaceID = -1;
|
||||
|
|
|
@ -11,7 +11,7 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
|||
|
||||
autogenerated=1 # remove this line to get rid of the warning on top.
|
||||
|
||||
monitor=,1920x1080@60,0x0,0.5,1
|
||||
monitor=,1920x1080@60,0x0,1
|
||||
|
||||
input {
|
||||
kb_layout=
|
||||
|
|
Loading…
Reference in a new issue