Hi, I'm not sure it should be a separate commit. Or at least add a note that it will be needed in the following commit and merge it just before "worker: painfully move display_channel_add_drawable". Pavel On Mon, 2015-11-16 at 11:06 +0000, Frediano Ziglio wrote: > From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> > > --- > server/red_worker.c | 7 +++++++ > server/red_worker.h | 1 + > 2 files changed, 8 insertions(+) > > diff --git a/server/red_worker.c b/server/red_worker.c > index 0d17085..a5abe87 100644 > --- a/server/red_worker.c > +++ b/server/red_worker.c > @@ -9540,3 +9540,10 @@ RedChannel* red_worker_get_display_channel(RedWorker > *worker) > > return RED_CHANNEL(worker->display_channel); > } > + > +clockid_t red_worker_get_clockid(RedWorker *worker) > +{ > + spice_return_val_if_fail(worker, 0); > + > + return worker->clockid; > +} > diff --git a/server/red_worker.h b/server/red_worker.h > index 3604dfd..d70e862 100644 > --- a/server/red_worker.h > +++ b/server/red_worker.h > @@ -110,6 +110,7 @@ QXLInstance* red_worker_get_qxl(RedWorker *worker); > RedChannel* red_worker_get_cursor_channel(RedWorker *worker); > RedChannel* red_worker_get_display_channel(RedWorker *worker); > void red_worker_print_stats(RedWorker *worker); > +clockid_t red_worker_get_clockid(RedWorker *worker); > > RedChannel *red_worker_new_channel(RedWorker *worker, int size, > const char *name, _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel