[RFC PATCH spice v2 08/20] Clean up some stream-channel comments

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

 



Signed-off-by: Lukáš Hrázký <lhrazky@xxxxxxxxxx>
---
 server/stream-channel.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/server/stream-channel.c b/server/stream-channel.c
index c69c88d4..2521d4dd 100644
--- a/server/stream-channel.c
+++ b/server/stream-channel.c
@@ -198,8 +198,7 @@ marshall_monitors_config(RedChannelClient *rcc, StreamChannel *channel, SpiceMar
     } msg = {
         { 1, 1, },
         {
-            // monitor ID. These IDs are allocated per channel starting from 0
-            0,
+            0,  // monitor ID. These IDs are allocated per channel starting from 0
             PRIMARY_SURFACE_ID,
             channel->width, channel->height,
             0, 0,
@@ -431,7 +430,6 @@ stream_channel_connect(RedChannel *red_channel, RedClient *red_client, RedStream
     red_channel_client_pipe_add_type(rcc, RED_PIPE_ITEM_TYPE_MONITORS_CONFIG);
     // surface data
     red_channel_client_pipe_add_type(rcc, RED_PIPE_ITEM_TYPE_FILL_SURFACE);
-    // TODO monitor configs ??
     red_channel_client_pipe_add_empty_msg(rcc, SPICE_MSG_DISPLAY_MARK);
 }
 
@@ -492,7 +490,6 @@ stream_channel_change_format(StreamChannel *channel, const StreamMsgFormat *fmt)
         channel->height = fmt->height;
         red_channel_pipes_add_type(red_channel, RED_PIPE_ITEM_TYPE_SURFACE_CREATE);
         red_channel_pipes_add_type(red_channel, RED_PIPE_ITEM_TYPE_MONITORS_CONFIG);
-        // TODO monitors config ??
         red_channel_pipes_add_empty_msg(red_channel, SPICE_MSG_DISPLAY_MARK);
     }
 
-- 
2.18.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]