diff options
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/xlib')
-rw-r--r-- | legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c index 30a3924..034a1f1 100644 --- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c +++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c | |||
@@ -1403,7 +1403,16 @@ _ecore_x_event_handle_selection_notify(XEvent *xevent) | |||
1403 | xevent->xselection.property, | 1403 | xevent->xselection.property, |
1404 | XA_ATOM, 32, &data, &num_ret); | 1404 | XA_ATOM, 32, &data, &num_ret); |
1405 | if (!format) | 1405 | if (!format) |
1406 | return; | 1406 | { |
1407 | /* fallback if targets handling is not working and try get the | ||
1408 | * selection directly */ | ||
1409 | XConvertSelection(_ecore_x_disp, selection, | ||
1410 | ECORE_X_ATOM_UTF8_STRING, | ||
1411 | selection, | ||
1412 | xevent->xselection.requestor, | ||
1413 | CurrentTime); | ||
1414 | return; | ||
1415 | } | ||
1407 | } | 1416 | } |
1408 | else | 1417 | else |
1409 | { | 1418 | { |