mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-21 20:15:04 +00:00
fix: game keymap mouse invalid
This commit is contained in:
parent
74f73e937e
commit
db290aa030
1 changed files with 4 additions and 2 deletions
|
@ -60,12 +60,14 @@ void VideoForm::initUI()
|
|||
#endif
|
||||
}
|
||||
|
||||
setMouseTracking(true);
|
||||
m_videoWidget = new QYUVOpenGLWidget();
|
||||
m_videoWidget->setMouseTracking(true);
|
||||
m_videoWidget->hide();
|
||||
ui->keepRadioWidget->setWidget(m_videoWidget);
|
||||
ui->keepRadioWidget->setWidthHeightRadio(m_widthHeightRatio);
|
||||
|
||||
setMouseTracking(true);
|
||||
m_videoWidget->setMouseTracking(true);
|
||||
ui->keepRadioWidget->setMouseTracking(true);
|
||||
}
|
||||
|
||||
void VideoForm::onGrabCursor(bool grab)
|
||||
|
|
Loading…
Add table
Reference in a new issue