mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
monitor: Don't forbid scales < 1
With fractional scaling, people try out things like 0.75 scaling, and there's no reason for us to prohibit that from working. Fixes: #6928
This commit is contained in:
parent
c3c1819e12
commit
1cd107d5ab
@ -649,7 +649,7 @@ void
|
||||
gdk_monitor_set_scale (GdkMonitor *monitor,
|
||||
double scale)
|
||||
{
|
||||
g_return_if_fail (scale >= 1.);
|
||||
g_return_if_fail (scale > 0.);
|
||||
|
||||
monitor->scale_set = TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user