]> 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:20:13 +0000 (13:20 +0200)
commitfc874e775aae9674dc33531df2180f67c35057b0
treea6053f41b630dc98c0a13ec3f280281bac15da46
parent9e5e2def61f518a5f4ae7ccaf4a2b6db7634d3be
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.

(cherry picked from commit 72d632673ba4531132fd1cd59c2d0b9966551300)
vncviewer/MonitorIndicesParameter.cxx