automatically choose the scale factor if <= 0

This commit is contained in:
Dima Krasner 2022-12-02 19:58:49 +02:00
parent 2b3504e439
commit c4443da6a2
2 changed files with 15 additions and 2 deletions

View file

@ -42,7 +42,7 @@ static const MonitorRule monrules[] = {
{ "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
*/
/* defaults */
{ NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
{ NULL, 0.55, 1, -1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
};
/* keyboard */