for non-maemo builds (i.e. with actual multitasking), reenable updates when window...
authorChristian Pulvermacher <pulvermacher@gmx.de>
Sun, 29 Jan 2012 19:14:21 +0000 (20:14 +0100)
committerChristian Pulvermacher <pulvermacher@gmx.de>
Sun, 29 Jan 2012 19:14:21 +0000 (20:14 +0100)
src/vncview.cpp

index f704a4d..dc1427d 100644 (file)
@@ -261,10 +261,12 @@ void VncView::outputErrorMessage(const QString &message)
 
 void VncView::updateImage(int x, int y, int w, int h)
 {
+#ifdef Q_WS_MAEMO_5
     //don't update if window is out of focus / display is off
     if(!QApplication::focusWidget() || display_off) {
         return;
     }
+#endif
 
     //kDebug(5011) << "got update" << width() << height();