mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-23 06:40:49 +00:00
Qt: only center basic mouse input on active fullscreens
This commit is contained in:
parent
6fc869e21b
commit
d1d1b2effd
@ -91,7 +91,7 @@ void basic_mouse_handler::MouseMove(QMouseEvent* event)
|
|||||||
{
|
{
|
||||||
if (is_time_for_update())
|
if (is_time_for_update())
|
||||||
{
|
{
|
||||||
if (m_target && m_target->visibility() == QWindow::Visibility::FullScreen)
|
if (m_target && m_target->visibility() == QWindow::Visibility::FullScreen && m_target->isActive())
|
||||||
{
|
{
|
||||||
// get the screen dimensions
|
// get the screen dimensions
|
||||||
const QSize screen = m_target->size();
|
const QSize screen = m_target->size();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user