summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-17 10:06:40 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-17 10:06:40 +0100
commit6664c12278130ad32f7a27bfad01c6fc9691653a (patch)
treecab6322b2063fc36527bda36fa6600f53851b31c /client
parent46ad8fd0705e8705adc75038750492b3b9538a8e (diff)
downloadspice-6664c12278130ad32f7a27bfad01c6fc9691653a.tar.gz
spice-6664c12278130ad32f7a27bfad01c6fc9691653a.tar.xz
spice-6664c12278130ad32f7a27bfad01c6fc9691653a.zip
Fix up empty region checks in canvas operations
We rely on not passing on empty rects to the drawing operations by checking for empty regions and exiting early. However the checks were wrongly using pixman_region32_n_rects(region) == 0, whereas we should be using pixman_region32_not_empty().
Diffstat (limited to 'client')
0 files changed, 0 insertions, 0 deletions