vnc: Fix artifacts in hextile decoding
commit57fa5ca551486e6fe7a3101a336a875cb6d6ba1f
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 7 Jan 2010 13:55:34 +0000 (7 07:55 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 7 Jan 2010 13:59:28 +0000 (7 07:59 -0600)
tree326df54c605f4c4b2d1420dcc2024bcf1e003fb4
parent8610774f7962d9b12dcadee78ca9561bf7370b61
vnc: Fix artifacts in hextile decoding

02c2b87 introduced a regression whereas the foreground color in a hextile
update was not being properly invalidated leading to artifacts.

It's still necessary to explicitly invalidate the foreground color with a
SubrectColoured tile even though we no longer send a foreground color as
part of the tile.

Reported-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 18cb1d85578e03b16570d9380309cca673f9fff8)
vnchextile.h