Date: Fri, 21 Jul 2017 14:01:16 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446317 - head/www/chromium/files Message-ID: <201707211401.v6LE1Gpi047485@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Fri Jul 21 14:01:16 2017 New Revision: 446317 URL: https://svnweb.freebsd.org/changeset/ports/446317 Log: - Fix patch previously committed in r446307 MFH: 2017Q3 (blanket) Modified: head/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc Modified: head/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc ============================================================================== --- head/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc Fri Jul 21 13:37:51 2017 (r446316) +++ head/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc Fri Jul 21 14:01:16 2017 (r446317) @@ -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() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707211401.v6LE1Gpi047485>