VirtualBox

Ignore:
Timestamp:
May 13, 2024 2:22:21 PM (11 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163139
Message:

FE/Qt: bugref:10450: Runtime UI: Get rid of old Qt code related to mouse/keyboard handlers.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r104592 r104598  
    277277             * the same problem. At present we just let that problem be.) */
    278278
    279 # if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
    280279            /* Make sure we really do still have the focus.  Qt as of version 5.13 started
    281280             * reporting it with delay, so ask the X server directly.  We could remove the
     
    289288            if (xcbFocusWindow != m_windows[m_iKeyboardCaptureViewIndex]->winId())
    290289                return true;
    291 # endif
    292290
    293291            /* Grab the mouse button.
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r104358 r104598  
    777777                    if (mouseEvent(pWheelEvent->type(),
    778778                                   uScreenId,
    779 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
    780779                                   pWheelEvent->position().toPoint(),
    781780                                   pWheelEvent->globalPosition().toPoint(),
    782 #else
    783                                    pWheelEvent->pos(),
    784                                    pWheelEvent->globalPos(),
    785 #endif
    786781#ifdef VBOX_WS_MAC
    787782                                   // WORKAROUND:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette