but these is no called qxl_worker_update_area,except &quot;dispatcher-&gt;base.update_area = qxl_worker_update_area&quot;.<br><br>
<div class="gmail_quote">2010/12/29 Alon Levy <span dir="ltr">&lt;<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">On Wed, Dec 29, 2010 at 10:27:57PM +0800, lin gu wrote:<br>&gt; Hi,guys!<br>&gt; I thought that when the QXL update_area,it will send a<br>&gt; RED_WORKER_MESSAGE_UPDATE<br>&gt;  use Red_dispather,then the Red_worker will handler the message.<br>
&gt; but I can&#39;t find any code to create the the<br>&gt; message--&quot;RED_WORKER_MESSAGE_UPDATE&quot;.<br>&gt; so I want to know if the QXL send the RED_WORKER_MESSAGE_UPDATE message?<br>&gt; or it&#39;s only a definition that dosenot use in spice?<br>
&gt; Thanks!<br><br></div></div>U playa:spice alon master $ git grep -p RED_WORKER_MESSAGE_UPDATE<br>server/red_dispatcher.c=static void qxl_worker_update_area(QXLWorker *qxl_worker, uint32_t surface_i<br>server/red_dispatcher.c:    RedWorkerMessage message = RED_WORKER_MESSAGE_UPDATE;<br>
server/red_worker.c=static void handle_dev_input(EventListener *listener, uint32_t events)<br>server/red_worker.c:    case RED_WORKER_MESSAGE_UPDATE:<br>server/red_worker.h=enum {<br>server/red_worker.h:    RED_WORKER_MESSAGE_UPDATE,<br>
<br><br>&gt; Spice-devel mailing list<br>&gt; <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br></blockquote></div><br>