~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/patches/display-scaling-default-value

  • Committer: Chad MILLER
  • Date: 2014-04-21 12:24:19 UTC
  • Revision ID: chad.miller@canonical.com-20140421122419-g2hfufm62f0yupr4
debian/patches/display-scaling-default-value: Make default scale 1:1
when no gsettings information is available. (LP: #1302155)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Author: Chad MILLER <chad.miller@canonical.com>
5
5
Forwarded: not-needed
6
6
 
7
 
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
8
 
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
9
 
@@ -375,8 +375,10 @@ std::vector<gfx::Display> DesktopScreenX
10
 
       int density_indicator = 0;
 
7
Index: chromium-browser-34.0.1847.116/ui/views/widget/desktop_aura/desktop_screen_x11.cc
 
8
===================================================================
 
9
--- chromium-browser-34.0.1847.116.orig/ui/views/widget/desktop_aura/desktop_screen_x11.cc
 
10
+++ chromium-browser-34.0.1847.116/ui/views/widget/desktop_aura/desktop_screen_x11.cc
 
11
@@ -372,11 +372,13 @@ std::vector<gfx::Display> DesktopScreenX
 
12
       gfx::Display display(display_id, crtc_bounds);
 
13
 
 
14
       // An integer that forces discrete steps.
 
15
-      int density_indicator = 0;
 
16
+      int density_indicator = 8;
11
17
 #ifdef USE_GLIB
12
18
       if (display_scales != NULL) {
13
19
-        (void) g_variant_lookup(display_scales, output_info->name, "i",