From: Pierre Ossman Date: Tue, 11 Sep 2018 12:23:35 +0000 (+0200) Subject: Remove dead overlay code X-Git-Tag: v1.9.90~89 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=360d107d2a7a3e5f61d600bb5ef50019b02ac114;p=tigervnc.git Remove dead overlay code Remnants from an earlier version of the code. --- diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 11773d33..a8e17fce 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -601,11 +601,6 @@ void DesktopWindow::setOverlay(const char* text, ...) delete imageText; - x = (this->w() - image->w()) / 2; - y = 50; - w = image->w(); - h = image->h(); - overlay = new Surface(image); overlayAlpha = 0; gettimeofday(&overlayStart, NULL);