guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mjum...@apache.org
Subject [1/2] incubator-guacamole-server git commit: GUACAMOLE-262: set VNC trueColour flag to 1 instead of 255
Date Mon, 03 Apr 2017 22:59:42 GMT
Repository: incubator-guacamole-server
Updated Branches:
  refs/heads/master 2ac1f1497 -> 37fe3548d


GUACAMOLE-262: set VNC trueColour flag to 1 instead of 255

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/8833c0dd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/8833c0dd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/8833c0dd

Branch: refs/heads/master
Commit: 8833c0dd7928b7149430e8c7aaae90360405cdff
Parents: 2ac1f14
Author: dborth <dborth@gmail.com>
Authored: Mon Apr 3 09:28:22 2017 -0600
Committer: GitHub <noreply@github.com>
Committed: Mon Apr 3 09:28:22 2017 -0600

----------------------------------------------------------------------
 src/protocols/vnc/display.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/8833c0dd/src/protocols/vnc/display.c
----------------------------------------------------------------------
diff --git a/src/protocols/vnc/display.c b/src/protocols/vnc/display.c
index 22de084..7273e4b 100644
--- a/src/protocols/vnc/display.c
+++ b/src/protocols/vnc/display.c
@@ -153,6 +153,7 @@ void guac_vnc_copyrect(rfbClient* client, int src_x, int src_y, int w,
int h, in
 }
 
 void guac_vnc_set_pixel_format(rfbClient* client, int color_depth) {
+    client->format.trueColour = 1;
     switch(color_depth) {
         case 8:
             client->format.depth        = 8;


Mime
View raw message