diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-09-11 13:39:35 -0400 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-02-13 17:38:02 +0100 |
commit | 5e60575292650a3816d6ba22cf4b272331969c11 (patch) | |
tree | 1bc7fc4eff7a987f8e08524a44c9fb0458489db8 | |
parent | 33d6aadc5094b061c52b97f2e567af1da4575e0a (diff) |
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
-rw-r--r-- | server/dcc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/dcc.h b/server/dcc.h index 4744a017..9c5ebe5e 100644 --- a/server/dcc.h +++ b/server/dcc.h @@ -183,7 +183,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); |