vncviewer when it starts in the scaling mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2233
3789f03b-4d11-0410-bbf8-
ca57d06f2519
if (buffer->getScale() == scale_ || scale_ <= 0) return;
buffer->setScale(scale_);
if (isToolbarEnabled()) refreshToolbarButtons();
- if (!isAutoScaling()) resizeDesktopWindowToBuffer();
+ if (!isAutoScaling() && !isFullscreen()) resizeDesktopWindowToBuffer();
char *newTitle = new char[strlen(desktopName)+20];
sprintf(newTitle, "%s @ %i%%", desktopName, getDesktopScale());
SetWindowText(handle, TStr(newTitle));