mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Qt: only center basic mouse input on active fullscreens
This commit is contained in:
parent
6fc869e21b
commit
d1d1b2effd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue