Re: [Spice-devel] [PATCH spice-gtk 01/10] display: use bitfields for surface flags

2013-09-09 Thread Yonit Halperin
On 09/08/2013 02:59 PM, Marc-André Lureau wrote: Checking by value make the flag fields useless.Uunfortunately, when adding more flags, the server will have to ensure it can safely send it, by checking some of new client caps. Good catch. Can you also add a comment about this to spice-protcol Sp

[Spice-devel] [PATCH spice-gtk 01/10] display: use bitfields for surface flags

2013-09-08 Thread Marc-André Lureau
Checking by value make the flag fields useless.Uunfortunately, when adding more flags, the server will have to ensure it can safely send it, by checking some of new client caps. --- gtk/channel-display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/channel-display.c b/