discomfitor pushed a commit to branch enlightenment-0.20. http://git.enlightenment.org/core/enlightenment.git/commit/?id=13f8b1f158c15401f6c0309e968060afa8facde8
commit 13f8b1f158c15401f6c0309e968060afa8facde8 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Wed Apr 20 12:38:08 2016 -0400 more accurately reject wl selection setting based on whether serial is invalid copycopycopycopy --- src/bin/e_comp_wl_data.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c index ae280ec..630015c 100644 --- a/src/bin/e_comp_wl_data.c +++ b/src/bin/e_comp_wl_data.c @@ -269,6 +269,8 @@ _e_comp_wl_data_device_selection_set(void *data EINA_UNUSED, E_Comp_Wl_Data_Sour struct wl_resource *offer_res, *data_device_res, *focus = NULL; sel_source = (E_Comp_Wl_Data_Source*)e_comp_wl->selection.data_source; + if (sel_source && (e_comp_wl->selection.serial - serial < UINT32_MAX / 2)) + return; if (sel_source) { --