Hi mlureau, Thank you for your guide, so it looks like spice renders the whole bitmap, and which region will be showed depends on the event send to gtk? I will have a test, thank you very much. Thanks & Regards Li JiaMin -----邮件原件----- 发件人: Marc-André Lureau [mailto:mlureau@xxxxxxxxxx] 发送时间: 2014年5月29日 22:15 收件人: ljm李嘉敏 抄送: spice-devel@xxxxxxxxxxxxxxxxxxxxx 主题: Re: 答复: About mouse scroll ----- Original Message ----- > Hi mlureau, > > You are right, I try to find out the relationship between a scroll > event and a display update in spice client. > For spice client, I think moving an already rendered regions and > drawing only the uncovered region is more reasonable. > but I can't find the code relative to it? Can you give me a clue? Thank you! Handling scrolling events and deciding what to redraw and how, is the job of the toolkit (gtk+/qt etc). Spice only only does the rendering. _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel