VirtualBox

Changeset 50786 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 14, 2014 11:16:55 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92807
Message:

FE/Qt: Runtime UI: Mouse handler: Mouse-event propagation mechanism: Adjust hovered-widget geometry measurement by 1px in width/height to make sure window-bumping works.

File:
1 edited

Legend:

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

    r50784 r50786  
    556556                    {
    557557                        QPoint posInViewport = pViewport->mapFromGlobal(pOldMouseEvent->globalPos());
    558                         if (pViewport->geometry().contains(posInViewport))
     558                        if (pViewport->geometry().adjusted(0, 0, 1, 1).contains(posInViewport))
    559559                            probablyHoveredViewports << pViewport;
    560560                    }
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