forked from enlightenment/efl
Fallback to attempt 16 bit format accepts on selection notifies when the
8 bit format fails. This fixes receiving application/x-color from gimp but is probably not an ideal solution. SVN revision: 26190
This commit is contained in:
parent
2ef90bf328
commit
006784cbcd
|
@ -1175,7 +1175,12 @@ _ecore_x_event_handle_selection_notify(XEvent *xevent)
|
||||||
if (!ecore_x_window_prop_property_get(xevent->xselection.requestor,
|
if (!ecore_x_window_prop_property_get(xevent->xselection.requestor,
|
||||||
xevent->xselection.property,
|
xevent->xselection.property,
|
||||||
AnyPropertyType, 8, &data, &num_ret))
|
AnyPropertyType, 8, &data, &num_ret))
|
||||||
return;
|
{
|
||||||
|
if (!ecore_x_window_prop_property_get(xevent->xselection.requestor,
|
||||||
|
xevent->xselection.property,
|
||||||
|
AnyPropertyType, 16, &data, &num_ret))
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
e = calloc(1, sizeof(Ecore_X_Event_Selection_Notify));
|
e = calloc(1, sizeof(Ecore_X_Event_Selection_Notify));
|
||||||
|
|
Loading…
Reference in New Issue