From b07121279fd136496617f4b3270d675933f12365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Fri, 10 Jul 2009 18:08:30 +0000 Subject: [PATCH] Keep the mouse at the same location when preventing the screen saver to go off... solves some weird issues. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31512 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/VideoView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/mediaplayer/VideoView.cpp b/src/apps/mediaplayer/VideoView.cpp index f1f61599ad..83da165246 100644 --- a/src/apps/mediaplayer/VideoView.cpp +++ b/src/apps/mediaplayer/VideoView.cpp @@ -104,6 +104,7 @@ VideoView::Pulse() uint32 buttons; GetMouse(&where, &buttons, false); if (buttons == 0) { + ConvertToScreen(&where); set_mouse_position((int32)where.x, (int32)where.y); // hide the mouse cursor until the user moves it be_app->ObscureCursor();