diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-08-09 16:10:28 -0400 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2022-08-26 16:48:46 +1200 |
commit | ba7f6efc5c802aa87520b526ab5bc72b81669311 (patch) | |
tree | 1259dec53cba71280f75f1de1b0f86caf7614bde /src/x-server-xvnc.c | |
parent | 658952997c5cd05c148b6c288739af2c6dd5c40f (diff) | |
download | lightdm-git-ba7f6efc5c802aa87520b526ab5bc72b81669311.tar.gz |
x-server-xvnc: Adjust default color depth to match upstream TigerVNC.
There is no longer support for 8 bit color depth in TigerVNC (see:
https://github.com/TigerVNC/tigervnc/commit/e86d8720ba1e79b486ca29a5c2b27fa25811e6a2);
using it causes a fatal error.
* src/x-server-xvnc.c (x_server_xvnc_init): Set default depth to 24 bit.
* tests/scripts/vnc-command.conf (command): Adjust accordingly.
* tests/scripts/vnc-guest.conf (user-session): Likewise.
* tests/scripts/vnc-login.conf (user-session): Likewise.
* tests/scripts/vnc-open-file-descriptors.conf (user-session): Likewise.
* data/lightdm.conf: Likewise.
Diffstat (limited to 'src/x-server-xvnc.c')
-rw-r--r-- | src/x-server-xvnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x-server-xvnc.c b/src/x-server-xvnc.c index 68340d53..27ca4454 100644 --- a/src/x-server-xvnc.c +++ b/src/x-server-xvnc.c @@ -127,7 +127,7 @@ x_server_xvnc_init (XServerXVNC *server) XServerXVNCPrivate *priv = x_server_xvnc_get_instance_private (server); priv->width = 1024; priv->height = 768; - priv->depth = 8; + priv->depth = 24; } static void |