]> source.dussan.org Git - tigervnc.git/commit
Encapsulate screen layout storage in ConnParams
authorPierre Ossman <ossman@cendio.se>
Wed, 20 Jun 2018 10:25:14 +0000 (12:25 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 1 Nov 2018 15:11:42 +0000 (16:11 +0100)
commit9312b0e3e16a0eee66945a1220d914067132de9a
tree78a8574b9d91bf6c1613d5a6f543e7454029638e
parent0fe375a209dd917de5cbabbfbe5915b9b58f8fa8
Encapsulate screen layout storage in ConnParams

Avoid direct access to the screen dimensions and layout so that we
can make sure it stays sane. This also makes sure the layout is
properly updated when we only get the screen dimensions from the
server.
12 files changed:
common/rfb/CMsgHandler.cxx
common/rfb/CMsgReader.cxx
common/rfb/CMsgWriter.cxx
common/rfb/ConnParams.cxx
common/rfb/ConnParams.h
common/rfb/SMsgHandler.cxx
common/rfb/SMsgWriter.cxx
common/rfb/VNCSConnectionST.cxx
tests/decperf.cxx
tests/encperf.cxx
vncviewer/CConn.cxx
vncviewer/DesktopWindow.cxx