forked from enlightenment/enlightenment
don't remove wl data source listener when xwl owns the selection
crash-- since xwl has no listener
This commit is contained in:
parent
04b6514c51
commit
ebc6c0ee35
|
@ -232,6 +232,7 @@ _e_comp_wl_data_device_selection_set(void *data EINA_UNUSED, E_Comp_Wl_Data_Sour
|
|||
{
|
||||
if (sel_source->cancelled)
|
||||
sel_source->cancelled(sel_source);
|
||||
if (!e_comp->wl_comp_data->clipboard.xwl_owner)
|
||||
wl_list_remove(&e_comp->wl_comp_data->selection.data_source_listener.link);
|
||||
e_comp->wl_comp_data->selection.data_source = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue