Skip to content

Commit

Permalink
Remove debug code and make sure modifiers are actually reported
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Feb 2, 2024
1 parent 26593f2 commit 2e6f859
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shared/qpa/oxideeventhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,14 +538,13 @@ void OxideEventHandler::processKeyboardEvent(
toQtModifiers(keyboardData->m_modifiers)
);
}
qDebug() << toQtModifiers(keyboardData->m_modifiers) << toQtModifiers(it->special) << it->special;
QEvent::Type type = pressed ? QEvent::KeyPress : QEvent::KeyRelease;
QString text = unicode != 0xffff ? QString(QChar(unicode)) : QString();
QWindowSystemInterface::handleExtendedKeyEvent(
nullptr,
type,
qtcode,
qtmods,
toQtModifiers(keyboardData->m_modifiers),
keycode + 8,
0,
int(modifiers),
Expand Down

0 comments on commit 2e6f859

Please sign in to comment.