summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c')
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c
index 5b7d974..272071f 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c
@@ -1333,7 +1333,15 @@ _ecore_xcb_event_handle_selection_notify(xcb_generic_event_t *event)
1333 format = 1333 format =
1334 ecore_x_window_prop_property_get(ev->requestor, ev->property, 1334 ecore_x_window_prop_property_get(ev->requestor, ev->property,
1335 XCB_ATOM_ATOM, 32, &data, &num); 1335 XCB_ATOM_ATOM, 32, &data, &num);
1336 if (!format) return; 1336 if (!format)
1337 {
1338 /* fallback if targets handling is not working and try get the
1339 * selection directly */
1340 xcb_convert_selection(_ecore_xcb_conn, ev->requestor,
1341 selection, selection,
1342 ECORE_X_ATOM_UTF8_STRING, XCB_CURRENT_TIME);
1343 return;
1344 }
1337 } 1345 }
1338 else 1346 else
1339 { 1347 {