summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GstDebugViewer/Plugins/Timeline.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/GstDebugViewer/Plugins/Timeline.py b/GstDebugViewer/Plugins/Timeline.py
index c826ceb..af5a9b5 100644
--- a/GstDebugViewer/Plugins/Timeline.py
+++ b/GstDebugViewer/Plugins/Timeline.py
@@ -836,8 +836,7 @@ class TimelineWidget (gtk.DrawingArea):
def do_motion_notify_event (self, event):
- x = event.x
- y = event.y
+ x, y, mod = self.window.get_pointer ()
if event.state & gtk.gdk.BUTTON1_MASK:
self.emit ("change-position", int (x))