From 72613ed99aa430f980d7195978199b447c1f0223 Mon Sep 17 00:00:00 2001 From: iovar Date: Mon, 10 Sep 2007 15:15:10 +0000 Subject: *** empty log message *** git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@422 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- qt-recordmydesktop/src/rmdSelect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-recordmydesktop') diff --git a/qt-recordmydesktop/src/rmdSelect.py b/qt-recordmydesktop/src/rmdSelect.py index 6a2264c..89ee8e4 100644 --- a/qt-recordmydesktop/src/rmdSelect.py +++ b/qt-recordmydesktop/src/rmdSelect.py @@ -32,7 +32,7 @@ class QtAreaSelector(QtGui.QLabel): QtGui.QLabel.__init__(self,None,QtCore.Qt.WindowStaysOnTopHint) self.x1=self.y1=-1 self.x2=self.y2=0 - self.pix=QtGui.QPixmap.grabWindow(QtGui.QApplication.desktop().winId()) + self.pix=QtGui.QPixmap.grabWindow(QtGui.QX11Info().appRootWindow()) siz=QtGui.QApplication.desktop().screenGeometry() (self.width, self.height)=(siz.width(),siz.height()) def paintEvent(self, event): -- cgit v1.2.3