Start capture on output switch iff clients are connected
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>pull/195/head
parent
19e3d78d78
commit
80efc9d487
|
@ -1054,6 +1054,7 @@ void switch_to_output(struct wayvnc* self, struct output* output)
|
|||
screencopy_stop(&self->screencopy);
|
||||
set_selected_output(self, output);
|
||||
reinitialise_pointers(self);
|
||||
if (self->nr_clients > 0)
|
||||
wayvnc_start_capture_immediate(self);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue