mutter/src
Cosimo Cecchi 477acddf64 monitor: improve heuristic to determine display output name
Under some circumstances, for example when the display controller driver
doesn't report back the correct EDID, or under VirtualBox, Mutter
returns suboptimal strings for an output display name, leading to funny
labels like 'Unknown 0"', or '(null) 0"' in the Settings panel.

This commit improves our heuristic in three ways:
- we now avoid putting inches in the display name if either dimension is
  zero
- we use the vendor name in case we're not able to lookup its PnP id
  from the database. Previously we would have passed over '(null)'
- as a special edge-case, when neither inches nor vendor are known, we
  use the string 'Unknown Display'

Finally, we make the combined vendor + inches string translatable, as
different languages might want to move the size part of the string to a
position different than the end.

https://bugzilla.gnome.org/show_bug.cgi?id=721674
2014-01-07 09:47:23 -08:00
..
compositor window-actor: Fix optimization in get_paint_volume 2013-12-18 19:09:13 -05:00
core monitor: improve heuristic to determine display output name 2014-01-07 09:47:23 -08:00
meta Revert "Make tile preview a compositor plugin effect" 2013-12-12 09:09:44 +01:00
ui Revert "Make tile preview a compositor plugin effect" 2013-12-12 09:09:44 +01:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
50-mutter-navigation.xml.in Add 'switch-applications' keybinding 2012-12-05 18:45:22 +01:00
50-mutter-system.xml.in keybindings: Import keybinding files from Metacity 2012-11-12 19:27:35 +01:00
50-mutter-windows.xml.in keybindings: Rebrand "minimize" as "hide" 2013-01-11 16:22:29 +01:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
idle-monitor.xml MetaIdleMonitor: add a DBus interface for the idle monitor 2013-08-23 15:25:13 +02:00
libmutter.pc.in Port preferences to GSettings 2011-11-11 20:26:38 +01:00
Makefile.am Revert "Make tile preview a compositor plugin effect" 2013-12-12 09:09:44 +01:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Use a META_ prefix for enum types, not MUTTER_ 2012-02-23 16:39:28 -05:00
mutter-plugins.pc.in Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
mutter-schemas.convert Remove live-hidden-windows from mutter-schemas.convert 2012-04-26 02:37:34 -04:00
mutter-wm.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
mutter.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
org.gnome.mutter.gschema.xml.in Revert "Add keyboard shortcut for Always on Top" 2013-11-16 21:34:48 +05:30
run-mutter.sh Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
xrandr.xml MonitorManager: return the new backlight after changing 2013-08-26 17:35:39 +02:00