]> source.dussan.org Git - tigervnc.git/commit
Use REGION_INTERSECT() rather than trying to compute things manually
authorPierre Ossman <ossman@cendio.se>
Mon, 14 Sep 2015 12:39:07 +0000 (14:39 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 14 Sep 2015 12:39:07 +0000 (14:39 +0200)
commit9f03a09e4083c1fa636291f5e90496b7c2ea29c1
treef5c2049aa15454f4278776c5757fcac7463a708e
parent1ba66612eb20598542144aafc4913028c2a65224
Use REGION_INTERSECT() rather than trying to compute things manually

REGION_INIT() does not handle an empty or invalid BoxRec, so this
method makes sure we don't feed bad rects further in to the process.
unix/xserver/hw/vnc/vncHooks.c