Changeset 97738 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Dec 5, 2022 8:17:08 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r97737 r97738 2814 2814 * 2815 2815 * @returns Pointer to the allocated window name. 2816 * @retval NULL on allocation failure. 2817 * @retval "<No name>" if window name was not found / invalid window handle. 2816 2818 * @param wndThis Window to retrieve name for. 2817 *2818 * @remark If the window title is not available, the text2819 * "<No name>" will be returned.2820 2819 */ 2821 2820 char *DragInstance::wndX11GetNameA(Window wndThis) const … … 2824 2823 2825 2824 XTextProperty propName; 2826 if (XGetWMName(m_pDisplay, wndThis, &propName)) 2825 if ( wndThis != None 2826 && XGetWMName(m_pDisplay, wndThis, &propName)) 2827 2827 { 2828 2828 if (propName.value)
Note:
See TracChangeset
for help on using the changeset viewer.