- Fix patch previously committed in r446307

MFH:		2017Q3 (blanket)
This commit is contained in:
Carlos J. Puga Medina 2017-07-21 14:01:16 +00:00
parent 2a609b5327
commit 8f02e52a44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446317

View file

@ -54,7 +54,7 @@
+ gint scale = gdk_screen_get_monitor_scale_factor(
+ screen, gdk_screen_get_primary_monitor(screen));
+ gdouble resolution = gdk_screen_get_resolution(screen);
+ return resolution <= 0? scale : resolution * scale / kDefaultDPI;
+ return resolution <= 0 ? scale : resolution * scale / kDefaultDPI;
}
views::LinuxUI::NonClientMiddleClickAction GetDefaultMiddleClickAction() {