diff options
author | cpm <cpm@FreeBSD.org> | 2017-07-21 22:01:16 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2017-07-21 22:01:16 +0800 |
commit | bfa2f1fcd7d1e02b1193107d6ee3b7673fc6567b (patch) | |
tree | 35ef86e526eed4b922812deb5ad0d4b58aa8da8c /www | |
parent | 4381dbd95483f08d49eef35525b487504afa11a7 (diff) | |
download | freebsd-ports-gnome-bfa2f1fcd7d1e02b1193107d6ee3b7673fc6567b.tar.gz freebsd-ports-gnome-bfa2f1fcd7d1e02b1193107d6ee3b7673fc6567b.tar.zst freebsd-ports-gnome-bfa2f1fcd7d1e02b1193107d6ee3b7673fc6567b.zip |
- Fix patch previously committed in r446307
MFH: 2017Q3 (blanket)
Diffstat (limited to 'www')
-rw-r--r-- | www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc b/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc index 7969a8602cb2..ccdb00b0305d 100644 --- a/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc +++ b/www/chromium/files/patch-chrome_browser_ui_libgtkui_gtk_ui.cc @@ -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() { |