summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-09-10 15:15:10 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-09-10 15:15:10 +0000
commit72613ed99aa430f980d7195978199b447c1f0223 (patch)
treec9614b7653c2e319259c9d67e4c7c1a862bdbaca /qt-recordmydesktop
parent01ed7092ae8ccb025344d745ff6c9a499d2105cb (diff)
*** empty log message ***
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@422 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop')
-rw-r--r--qt-recordmydesktop/src/rmdSelect.py2
1 files changed, 1 insertions, 1 deletions
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):
© All Rights Reserved