qt: Avoid reading absolute mouse input from cross-platform Qt code on Windows

This ensures only RAWINPUT sends mouse input to the emulated machine on Windows.
This commit is contained in:
Cacodemon345
2022-04-08 01:51:32 +06:00
committed by GitHub
parent 6ac35ffe43
commit e5ab6a8564

View File

@@ -174,7 +174,7 @@ RendererStack::mouseMoveEvent(QMouseEvent *event)
event->ignore();
return;
}
#ifdef __APPLE__
#if defined __APPLE__ || defined _WIN32
event->accept();
return;
#else