Changeset 85925 in vbox
- Timestamp:
- Aug 28, 2020 10:33:48 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140114
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r85924 r85925 934 934 * window, in response of some events we send to them. 935 935 */ 936 if ( e.xclient.message_type == xAtom(XA_XdndStatus) 937 && m_wndCur == static_cast<Window>(e.xclient.data.l[XdndStatusWindow])) 936 if (e.xclient.message_type == xAtom(XA_XdndStatus)) 938 937 { 939 938 Window wndTarget = static_cast<Window>(e.xclient.data.l[XdndStatusWindow]); … … 1668 1667 rc = wndXDnDSetActionList(m_wndProxy.hWnd, lstActions); 1669 1668 AssertRCBreak(rc); 1669 1670 Atom atmEnabled = 1; 1671 XChangeProperty(m_pDisplay, m_wndProxy.hWnd, xAtom(XA_XdndActionAsk), XA_ATOM, 32, PropModeReplace, 1672 reinterpret_cast<unsigned char*>(&atmEnabled), 1); 1673 1674 XChangeProperty(m_pDisplay, m_wndProxy.hWnd, xAtom(XA_XdndActionDescription), XA_STRING, 8, PropModeReplace, 1675 (const unsigned char *)"VBox DnD", sizeof("VBox DnD")); 1670 1676 1671 1677 /* Set the DnD selection owner to our window. */
Note:
See TracChangeset
for help on using the changeset viewer.