Changeset 86394 in vbox
- Timestamp:
- Oct 1, 2020 5:06:30 PM (4 years ago)
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp
r85121 r86394 70 70 71 71 /** 72 73 74 75 76 72 * Initialise the guest and ensure that it is capable of handling seamless mode 73 * 74 * @param pHostCallback host callback. 75 * @returns true if it can handle seamless, false otherwise 76 */ 77 77 int SeamlessX11::init(PFNSENDREGIONUPDATE pHostCallback) 78 78 { … … 95 95 LogRelFlowFuncLeaveRC(rc); 96 96 return rc; 97 } 98 99 /** 100 * Shutdown seamless event monitoring. 101 */ 102 void SeamlessX11::uninit(void) 103 { 104 if (mHostCallback) 105 stop(); 106 mHostCallback = NULL; 107 if (mDisplay) 108 XCloseDisplay(mDisplay); 109 mDisplay = NULL; 110 if (mpRects) 111 { 112 RTMemFree(mpRects); 113 mpRects = NULL; 114 } 97 115 } 98 116 -
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.h
r85121 r86394 224 224 * Shutdown seamless event monitoring. 225 225 */ 226 void uninit(void) 227 { 228 if (mHostCallback) 229 stop(); 230 mHostCallback = NULL; 231 if (mDisplay) 232 XCloseDisplay(mDisplay); 233 mDisplay = NULL; 234 } 226 void uninit(void); 235 227 236 228 /**
Note:
See TracChangeset
for help on using the changeset viewer.