Skip to content

Commit

Permalink
TEMP: resize timer delay
Browse files Browse the repository at this point in the history
  • Loading branch information
CendioOssman committed Apr 16, 2024
1 parent 81cacb4 commit 0e2c712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vncviewer/vncwindow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ QVNCWindow::QVNCWindow(QWidget* parent)
setPalette(p);
setBackgroundRole(QPalette::Window);

// FIXME: this is a lot faster than before
resizeTimer->setInterval(100); // <-- DesktopWindow::resize(int x, int y, int w, int h)
resizeTimer->setSingleShot(true);
connect(resizeTimer, &QTimer::timeout, this, &QVNCWindow::handleDesktopSize);
Expand Down

0 comments on commit 0e2c712

Please sign in to comment.