Changeset 85927 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Aug 28, 2020 10:57:11 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r85926 r85927 48 48 #ifdef DEBUG 49 49 //# define VBOX_DND_DEBUG_WND 50 #endif 51 52 /* Enable this to handle drag'n drop "promises". 53 * This is needed for supporting certain applications (i.e. PcManFM on LXDE), 54 * which require the drag'n drop meta data a lot earlier than actually needed. 55 * That behavior is similar to macOS' drag'n drop promises, hence the name. 56 * 57 * Those applications query the data right while dragging over them (see GtkWidget::drag-motion), 58 * instead of when the source dropped the data (GtkWidget::drag-drop). 59 * 60 * This might be entirely implementation-specific, so not being a bug in GTK/GDK. Also see #9820. 61 */ 62 #ifdef VBOX_WITH_DRAG_AND_DROP_PROMISES 63 # undef VBOX_WITH_DRAG_AND_DROP_PROMISES 50 64 #endif 51 65 … … 1338 1352 pEvReq->requestor, pszWndName, xAtomToString(pEvReq->target).c_str()); 1339 1353 1354 #ifdef VBOX_WITH_DRAG_AND_DROP_PROMISES 1355 # error "Implement me!" 1356 #else 1340 1357 /* Did we not drop our stuff to the guest yet? Bail out. */ 1341 1358 if (m_enmState != Dropped) … … 1347 1364 else 1348 1365 { 1366 #endif /* VBOX_WITH_DRAG_AND_DROP_PROMISES */ 1349 1367 /* Get the data format the requestor wants from us. */ 1350 1368 RTCString strFormat = xAtomToString(pEvReq->target); … … 1373 1391 gX11->xErrorToString(xRc).c_str())); 1374 1392 RT_NOREF(xRc); 1393 #ifndef VBOX_WITH_DRAG_AND_DROP_PROMISES 1375 1394 } 1395 #endif 1376 1396 } 1377 1397 /* Anything else. */
Note:
See TracChangeset
for help on using the changeset viewer.