mirror of
https://github.com/TigerVNC/tigervnc.git
synced 2024-08-21 17:54:34 +02:00
After changing zlib compression or jpeg quality, trigger a new SetEncodings message.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@64 3789f03b-4d11-0410-bbf8-ca57d06f2519
This commit is contained in:
parent
326b013ba2
commit
f7bf573f04
@ -252,10 +252,16 @@ CView::applyOptions(CViewOptions& opt) {
|
||||
(options.useDesktopResize != opt.useDesktopResize));
|
||||
cp.supportsLocalCursor = options.useLocalCursor = opt.useLocalCursor;
|
||||
cp.supportsDesktopResize = options.useDesktopResize = opt.useDesktopResize;
|
||||
|
||||
encodingChange |= ((options.customCompressLevel != opt.customCompressLevel) ||
|
||||
(options.compressLevel != opt.compressLevel) ||
|
||||
(options.noJpeg != opt.noJpeg) ||
|
||||
(options.qualityLevel != opt.qualityLevel));
|
||||
cp.customCompressLevel = options.customCompressLevel = opt.customCompressLevel;
|
||||
cp.compressLevel = options.compressLevel = opt.compressLevel;
|
||||
cp.noJpeg = options.noJpeg = opt.noJpeg;
|
||||
cp.qualityLevel = options.qualityLevel = opt.qualityLevel;
|
||||
|
||||
if (cursorAvailable)
|
||||
hideLocalCursor();
|
||||
cursorAvailable = cursorAvailable && options.useLocalCursor;
|
||||
|
Loading…
Reference in New Issue
Block a user