[gtk-vnc] src: dont emit framebuffer refresh signals for alpha cursor



commit 61a7669474da7f049ebc8393629a650697492efd
Author: Daniel P. Berrangé <dan berrange com>
Date:   Fri Dec 11 15:28:01 2020 +0000

    src: dont emit framebuffer refresh signals for alpha cursor
    
    Signed-off-by: Daniel P. Berrangé <berrange redhat com>

 src/vncconnection.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index be3f265..a2aec30 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -3150,42 +3150,36 @@ static void vnc_connection_alpha_cursor(VncConnection *conn, guint16 x, guint16
                                                   0, 0, width, height))
                 break;
             vnc_connection_raw_update(conn, fb, 0, 0, width, height);
-            vnc_connection_update(conn, 0, 0, width, height);
             break;
         case VNC_CONNECTION_ENCODING_COPY_RECT:
             if (!vnc_connection_validate_boundary(conn, fb,
                                                   0, 0, width, height))
                 break;
             vnc_connection_copyrect_update(conn, fb, 0, 0, width, height);
-            vnc_connection_update(conn, 0, 0, width, height);
             break;
         case VNC_CONNECTION_ENCODING_RRE:
             if (!vnc_connection_validate_boundary(conn, fb,
                                                   0, 0, width, height))
                 break;
             vnc_connection_rre_update(conn, fb, 0, 0, width, height);
-            vnc_connection_update(conn, 0, 0, width, height);
             break;
         case VNC_CONNECTION_ENCODING_HEXTILE:
             if (!vnc_connection_validate_boundary(conn, fb,
                                                   0, 0, width, height))
                 break;
             vnc_connection_hextile_update(conn, fb, 0, 0, width, height);
-            vnc_connection_update(conn, 0, 0, width, height);
             break;
         case VNC_CONNECTION_ENCODING_ZRLE:
             if (!vnc_connection_validate_boundary(conn, fb,
                                                   0, 0, width, height))
                 break;
             vnc_connection_zrle_update(conn, fb, 0, 0, width, height);
-            vnc_connection_update(conn, 0, 0, width, height);
             break;
         case VNC_CONNECTION_ENCODING_TIGHT:
             if (!vnc_connection_validate_boundary(conn, fb,
                                                   0, 0, width, height))
                 break;
             vnc_connection_tight_update(conn, fb, 0, 0, width, height);
-            vnc_connection_update(conn, 0, 0, width, height);
             break;
         default:
             vnc_connection_set_error(conn,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]