summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop/src/rmdFrame.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-01 11:52:29 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-01 11:52:29 +0000
commit30093520a255545a7f6d871cce2c8283c8fdcf12 (patch)
tree00cff6af63e08c311a57da947708e9f9791d7e77 /qt-recordmydesktop/src/rmdFrame.py
parent9f3f574763e842bcfb2a8411d88d18baea4b3d3a (diff)
rmdFrame.py: do not move when hidden
rmdSimple.py: hide frame when main window is hidden rmdTrayIcon.py: frame option in exec git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@447 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop/src/rmdFrame.py')
-rw-r--r--qt-recordmydesktop/src/rmdFrame.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-recordmydesktop/src/rmdFrame.py b/qt-recordmydesktop/src/rmdFrame.py
index bb11778..2d574c6 100644
--- a/qt-recordmydesktop/src/rmdFrame.py
+++ b/qt-recordmydesktop/src/rmdFrame.py
@@ -52,12 +52,12 @@ class rmdFrame:
self.timer=QtCore.QTimer(None)
self.timer.connect(self.timer,QtCore.SIGNAL("timeout()"),
self.moveFrame)
- self.timer.start(10)
+ self.timer.start(100)
self.screen_width=QtGui.qApp.desktop().width()
self.screen_height=QtGui.qApp.desktop().height()
def moveFrame(self):
- if self.parent.values[15]==0:
+ if self.parent.values[15]==0 and self.window.isVisible() :
npos=QtGui.QCursor.pos()
x=npos.x()-self.w/2
y=npos.y()-self.h/2
© All Rights Reserved