]> source.dussan.org Git - tigervnc.git/commitdiff
Remove dead overlay code
authorPierre Ossman <ossman@cendio.se>
Tue, 11 Sep 2018 12:23:35 +0000 (14:23 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 11 Sep 2018 12:23:35 +0000 (14:23 +0200)
Remnants from an earlier version of the code.

vncviewer/DesktopWindow.cxx

index 11773d33f706cc4180e41fa4455214bb04aafba0..a8e17fceffac7254c48372e8c006963fd838e682 100644 (file)
@@ -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);