mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00: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 (m_target && m_target->visibility() == QWindow::Visibility::FullScreen)
|
||||
if (m_target && m_target->visibility() == QWindow::Visibility::FullScreen && m_target->isActive())
|
||||
{
|
||||
// get the screen dimensions
|
||||
const QSize screen = m_target->size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue