Ticket #19482: 19482.patch
| File 19482.patch, 1.1 KB (added by , 4 years ago) |
|---|
-
src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
2772 2772 if (!pPhysicalLayout) 2773 2773 return 0; 2774 2774 2775 QPoint fullkbEventPosition = QPoint(eventPosition); 2776 2777 if (m_fHideMultimediaKeys) 2778 fullkbEventPosition.setY(fullkbEventPosition.y() + m_multiMediaKeysLayout.totalHeight()); 2779 2775 2780 UISoftKeyboardKey *pKey = 0; 2776 2781 QVector<UISoftKeyboardRow> &rows = pPhysicalLayout->rows(); 2777 2782 for (int i = 0; i < rows.size(); ++i) … … 2780 2785 for (int j = 0; j < keys.size(); ++j) 2781 2786 { 2782 2787 UISoftKeyboardKey &key = keys[j]; 2783 if (key.polygonInGlobal().containsPoint( eventPosition, Qt::OddEvenFill))2788 if (key.polygonInGlobal().containsPoint(fullkbEventPosition, Qt::OddEvenFill)) 2784 2789 { 2785 2790 pKey = &key; 2786 2791 break;

