summaryrefslogtreecommitdiffstats
path: root/server/dcc.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2013-09-11 13:39:35 -0400
committerFabiano FidĂȘncio <fidencio@redhat.com>2015-02-23 23:00:41 +0100
commitabbfccfcf1ea8d08d62d561d07fc24551560fb03 (patch)
tree78280078cfe0e2e1e6b48826eaf0902612776e74 /server/dcc.h
parentcbf86f5aef62ccfd3cf9c276acd6a8754d03f869 (diff)
downloadspice-abbfccfcf1ea8d08d62d561d07fc24551560fb03.tar.gz
spice-abbfccfcf1ea8d08d62d561d07fc24551560fb03.tar.xz
spice-abbfccfcf1ea8d08d62d561d07fc24551560fb03.zip
red_worker: cleanup red_clear_surface_drawables_from_pipes
(1) merge 'force' and 'wait_for_outgoing_item' to one parameter. 'wait_for_outgoing_item' is a derivative of 'force'. (2) move the call to red_wait_outgoing_item to red_clear_surface_drawables_from_pipe
Diffstat (limited to 'server/dcc.h')
-rw-r--r--server/dcc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/dcc.h b/server/dcc.h
index fac2fe51..ef59582e 100644
--- a/server/dcc.h
+++ b/server/dcc.h
@@ -187,7 +187,8 @@ void dcc_release_item (DisplayCha
void dcc_send_item (DisplayChannelClient *dcc,
PipeItem *item);
int dcc_clear_surface_drawables_from_pipe (DisplayChannelClient *dcc,
- int surface_id, int force);
+ int surface_id,
+ int wait_if_used);
int dcc_drawable_is_in_pipe (DisplayChannelClient *dcc,
Drawable *drawable);