projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b6514
)
don't remove wl data source listener when xwl owns the selection
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 11 Aug 2015 19:26:03 +0000
(15:26 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 11 Aug 2015 20:04:36 +0000
(16:04 -0400)
crash-- since xwl has no listener
src/bin/e_comp_wl_data.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_data.c
b/src/bin/e_comp_wl_data.c
index
f483abd
..
9831d52
100644
(file)
--- a/
src/bin/e_comp_wl_data.c
+++ b/
src/bin/e_comp_wl_data.c
@@
-232,7
+232,8
@@
_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);
- wl_list_remove(&e_comp->wl_comp_data->selection.data_source_listener.link);
+ 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;
}