VirtualBox

Changeset 70075 in vbox for trunk/include/VBox/Graphics


Ignore:
Timestamp:
Dec 12, 2017 9:54:21 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119623
Message:

Devices/Graphics, Main, FE/Qt: add plumbing for sending cursor position events.
bugref:9038: FE/Qt: better handle mouse cursor when toggling integration
The Linux and X11 graphics driver sends notification when the guest cursor
position changes. This could be used by the front-end to switch back to
pointer capturing without requiring that the guest draw the cursor, which
often results in artifacts. This change adds the necessary plumbing between
the graphics device and the user interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/Graphics/VBoxVideo.h

    r69307 r70075  
    12791279
    12801280/** Report the guest cursor position and query the host one.  The host may wish
    1281  *  to use the guest information to re-position its own cursor (though this is
    1282  *  currently unlikely).
     1281 *  to use the guest information to re-position its own cursor, particularly
     1282 *  when the cursor is captured and the guest does not support switching to a
     1283 *  software cursor.  After every mode switch the guest must signal that it
     1284 *  supports sending position information by sending an event with
     1285 *  @a fReportPosition set to false.
    12831286 *  @see VBVA_CURSOR_POSITION */
    12841287typedef struct VBVACURSORPOSITION
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