]> source.dussan.org Git - tigervnc.git/commit
Use correct color space for current monitor
authorPierre Ossman <ossman@cendio.se>
Fri, 28 Apr 2017 09:37:12 +0000 (11:37 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 28 Apr 2017 10:58:57 +0000 (12:58 +0200)
commit5da019ad6bc54e10930b846f796851200e662783
treeb865c44de82bace3ea9ae321bbe1398343521749
parentee234fe36a4d8be3baea010b22fe3019518625ce
Use correct color space for current monitor

We won't always be on the primary monitor, so check which color space
we're actually using right now. For offscreen stuff we assume a standard
sRGB color space.

(cherry picked from commit 1669a2d5a15aa39313cb74eff4f62dfe14d136cd)
tests/CMakeLists.txt
vncviewer/Surface_OSX.cxx
vncviewer/cocoa.h
vncviewer/cocoa.mm