]> source.dussan.org Git - tigervnc.git/commit
Avoid using RegionInit() because of empty rects
authorPierre Ossman <ossman@cendio.se>
Fri, 1 May 2020 13:37:22 +0000 (15:37 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 1 May 2020 13:37:22 +0000 (15:37 +0200)
commitd4a1074ff7b757553757b7fe86adf3a0a737f640
treec4a663f0457616519de5865040c007b1bb0d2cc2
parent0f4f5573966c70ef56b708a109f07f50c65055e6
Avoid using RegionInit() because of empty rects

It creates an invalid region if given an empty rect. Fortunately
RegionInitBoxes() handles that just fine, so use that instead.
unix/xserver/hw/vnc/vncHooks.c