Apply "Keyboard requires capture" also in full screen mode, fixes #2781.

This commit is contained in:
OBattler
2022-11-01 16:19:46 +01:00
parent 15f39c19a9
commit a9c472d6b6
2 changed files with 2 additions and 2 deletions

View File

@@ -1626,7 +1626,7 @@ void MainWindow::showMessage_(int flags, const QString &header, const QString &m
void MainWindow::keyPressEvent(QKeyEvent* event)
{
if (send_keyboard_input && !(kbd_req_capture && !mouse_capture && !video_fullscreen))
if (send_keyboard_input && !(kbd_req_capture && !mouse_capture))
{
// Windows keys in Qt have one-to-one mapping.
if (event->key() == Qt::Key_Pause && !keyboard_recv(0x38) && !keyboard_recv(0x138)) {