diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 18:52:57 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 18:52:57 +0000 |
commit | d7a24e2559c053056d557c90eb86a000c1e64a0d (patch) | |
tree | 78919207c413e28606ce307e29f4821b980739d4 /remoting/tools | |
parent | a7b8e43d208e137c79db1a33929b37336d9bfc98 (diff) | |
download | chromium_src-d7a24e2559c053056d557c90eb86a000c1e64a0d.zip chromium_src-d7a24e2559c053056d557c90eb86a000c1e64a0d.tar.gz chromium_src-d7a24e2559c053056d557c90eb86a000c1e64a0d.tar.bz2 |
Disable the Composite extension for in virtual X sessions.
Disabling the Composite extension prevents the default Unity 2D session
from running with the Metacity compositor enabled. The compositor doesn't
seem to affect the appearance of the session but does appear to break DAMAGE
notifications in some cases.
BUG=166468
Review URL: https://chromiumcodereview.appspot.com/12542018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/tools')
-rwxr-xr-x | remoting/tools/me2me_virtual_host.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py index e613517..e0eec2f 100755 --- a/remoting/tools/me2me_virtual_host.py +++ b/remoting/tools/me2me_virtual_host.py @@ -318,12 +318,16 @@ class Desktop: logging.info("Starting %s on display :%d" % (xvfb, display)) screen_option = "%dx%dx24" % (max_width, max_height) - self.x_proc = subprocess.Popen([xvfb, ":%d" % display, - "-noreset", - "-auth", x_auth_file, - "-nolisten", "tcp", - "-screen", "0", screen_option - ] + extra_x_args) + self.x_proc = subprocess.Popen( + [xvfb, ":%d" % display, + "-auth", x_auth_file, + # Disable compositing, since metacity seems to miss delivering some + # DAMAGE notifications otherwise. See crbug.com/166468. + "-extension", "Composite", + "-nolisten", "tcp", + "-noreset", + "-screen", "0", screen_option + ] + extra_x_args) if not self.x_proc.pid: raise Exception("Could not start Xvfb.") |