summaryrefslogtreecommitdiffstats
path: root/server/display-channel.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-26 23:12:01 +0200
committerFrediano Ziglio <fziglio@redhat.com>2015-11-23 14:38:11 +0000
commit81da00bf09b4f5be22c29be9c9458a422fe41121 (patch)
treed7d9f29ec45c055888f7462941587fa933caff1c /server/display-channel.c
parent4acf97cae1ce9cfc59a8826b3f604c84241929d7 (diff)
downloadspice-81da00bf09b4f5be22c29be9c9458a422fe41121.tar.gz
spice-81da00bf09b4f5be22c29be9c9458a422fe41121.tar.xz
spice-81da00bf09b4f5be22c29be9c9458a422fe41121.zip
worker: rename update_area
Acked-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
Diffstat (limited to 'server/display-channel.c')
-rw-r--r--server/display-channel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/display-channel.c b/server/display-channel.c
index f443dd01..0be3e42a 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -708,9 +708,10 @@ static int current_add(DisplayChannel *display, Ring *ring, Drawable *drawable)
current_add_drawable(display, drawable, ring);
} else {
/*
- * red_detach_streams_behind can affect the current tree since it may
- * trigger calls to update_area. Thus, the drawable should be added to the tree
- * before calling red_detach_streams_behind
+ * red_detach_streams_behind can affect the current tree since
+ * it may trigger calls to display_channel_draw. Thus, the
+ * drawable should be added to the tree before calling
+ * red_detach_streams_behind
*/
current_add_drawable(display, drawable, ring);
if (is_primary_surface(display, drawable->surface_id)) {