VirtualBox

Changeset 77451 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Feb 25, 2019 6:32:10 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129022
Message:

Devices/Graphics, pdm, Main: add out-of-range to host-side pointer reporting.
bugref:9376: Complete hardware cursor implementation in VMSVGA
The front-end can now send an out-of-range pointer event to say that the
pointer is outside of all guest windows. This can be useful when the cursor
is being drawn in software, as in this case it makes sense to hide it
altogether. The event is not yet passed down to the guest. Out-of-range,
like the already existing invalid data event (-1, -1) is passed as special
pointer co-ordinate values to avoid breaking API interfaces if this is
back-ported. A future change, not to be back-ported, will change the API to
get rid of the special values and do this cleanly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r77370 r77451  
    1770017700        These coordinates are expressed in pixels and
    1770117701        start from <tt>[1,1]</tt> which corresponds to the top left
    17702         corner of the virtual display.
     17702        corner of the virtual display.  The values <tt>[-1,-1]</tt> and
     17703        <tt>[0x7fffffff,0x7fffffff]</tt> have special meanings as
     17704        respectively "no data" (to signal that the host wishes to report
     17705        absolute pointer data in future) and "out of range" (the host
     17706        pointer is outside of all guest windows).
    1770317707
    1770417708        <result name="E_ACCESSDENIED">
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