]> source.dussan.org Git - tigervnc.git/commit
Fix corner case in monitor index calculation
authorPierre Ossman <ossman@cendio.se>
Thu, 9 Sep 2021 09:04:21 +0000 (11:04 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 9 Sep 2021 11:12:23 +0000 (13:12 +0200)
commit72d632673ba4531132fd1cd59c2d0b9966551300
tree90d8db5344a53d666d623deabd28cd73d4239f0d
parentfb561eb321b36dcf13932c903047ce08e55d67d5
Fix corner case in monitor index calculation

Fix a bug in the comparison function that could result in the wrong
index being assigned to a monitor. Change the logic to more directly map
to the description.
vncviewer/MonitorIndicesParameter.cxx