mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
rootston: allow scale < 1 as well
Since we support fractional scale, having scale=0.5 can make sense (and, as far as I can tell, works fine)
This commit is contained in:
parent
34489dca16
commit
5aee2afc7b
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ static int config_ini_handler(void *user, const char *section, const char *name,
|
|||
oc->y = strtol(value, NULL, 10);
|
||||
} else if (strcmp(name, "scale") == 0) {
|
||||
oc->scale = strtof(value, NULL);
|
||||
assert(oc->scale >= 1);
|
||||
assert(oc->scale > 0);
|
||||
} else if (strcmp(name, "rotate") == 0) {
|
||||
if (strcmp(value, "normal") == 0) {
|
||||
oc->transform = WL_OUTPUT_TRANSFORM_NORMAL;
|
||||
|
|
Loading…
Reference in a new issue