[Spice-devel] Help on terminate on disconnect feature needed

2012-08-10 Thread Jeremy White
I've got a need for an Xspice feature whereby the whole X server dies on client disconnect. Basically, we want the Xspice session to live exactly once, and then die. As I puzzle through the code, I don't have the feeling that there is an obvious place to inject that logic. I mean, I can shove an

[Spice-devel] [spice-gtk 2/2] Check --spice-disable-effects parameter validity

2012-08-10 Thread Christophe Fergeau
When --spice-disable-effects is used, error out unless this is the name of one of the effects we can disable. --- gtk/spice-option.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gtk/spice-option.c b/gtk/spice-option.c index c65397a..715e84a 100644 -

[Spice-devel] [spice-gtk 1/2] Check --spice-color-depth parameter validity

2012-08-10 Thread Christophe Fergeau
When --spice-color-depth is used, error out unless the color depth is 16 or 32. Fixes rhbz#818847 --- gtk/spice-option.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gtk/spice-option.c b/gtk/spice-option.c index ea5d226..c65397a 100644 --- a/gt