forked from AuroraMiddleware/gtk
GdkScreen: Return 1, not 1.0 for the (int) scale factor
This commit is contained in:
parent
247ebbd17c
commit
576ae1e3c9
@ -1080,5 +1080,5 @@ gdk_screen_get_monitor_scale_factor (GdkScreen *screen,
|
||||
if (screen_class->get_monitor_scale_factor)
|
||||
return screen_class->get_monitor_scale_factor (screen, monitor_num);
|
||||
|
||||
return 1.0;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user