Changeset 7440 in vbox for trunk/src/VBox/Additions/x11/xgraphics/vboxutils.c
- Timestamp:
- Mar 12, 2008 4:13:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/vboxutils.c
r7274 r7440 16 16 17 17 #include <VBox/VBoxGuest.h> 18 #include <VBox/VBoxDev.h> 18 19 19 20 #include <xf86Pci.h> … … 823 824 824 825 /** 826 * Inform VBox that we are aware of advanced graphics functions 827 * (i.e. dynamic resizing, seamless). 828 * 829 * @returns TRUE for success, FALSE for failure 830 */ 831 Bool 832 vboxEnableGraphicsCap(void) 833 { 834 return RT_SUCCESS(VbglR3SetGuestCaps(VMMDEV_GUEST_SUPPORTS_GRAPHICS, 0)); 835 } 836 837 /** 838 * Inform VBox that we are no longer aware of advanced graphics functions 839 * (i.e. dynamic resizing, seamless). 840 * 841 * @returns TRUE for success, FALSE for failure 842 */ 843 Bool 844 vboxDisableGraphicsCap(void) 845 { 846 return RT_SUCCESS(VbglR3SetGuestCaps(0, VMMDEV_GUEST_SUPPORTS_GRAPHICS)); 847 } 848 849 /** 825 850 * Query the last display change request. 826 851 *
Note:
See TracChangeset
for help on using the changeset viewer.