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
This commit is contained in:
parent
3621c97fdf
commit
b07121279f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user