Have resolution updates use color depth of 24

This commit is contained in:
Robert Hoffmann 2020-07-06 12:55:16 +02:00 committed by GitHub
parent 3c7b6dd70c
commit beb25ee06a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ class State(object):
'sed -i \'s#' 'sed -i \'s#'
'^exec /usr/bin/Xvfb.*$' '^exec /usr/bin/Xvfb.*$'
'#' '#'
'exec /usr/bin/Xvfb :1 -screen 0 {}x{}x16' 'exec /usr/bin/Xvfb :1 -screen 0 {}x{}x24'
'#\' /usr/local/bin/xvfb.sh' '#\' /usr/local/bin/xvfb.sh'
).format(w, h), shell=True) ).format(w, h), shell=True)
self.size_changed_count += 1 self.size_changed_count += 1