Send exist serial number of selection or drag if there're no matching
wl_data_source to prevent failure of multiple selection set.
This is temporary workaround, so we have to decide better way to control
multiple selection set.
@tizen_only
Change-Id: I2a158066af6704be3a66a87de11761fc0122214f
ev->seat = input->id;
if (source == input->data.selection.source)
ev->serial = input->data.selection.serial;
- else
+ //TIZEN_ONLY(20230725): workaround for multiple selection set
+ else if (source == input->data.drag.serial)
ev->serial = input->data.drag.serial;
+ else
+ {
+ if (input->data.selection.serial)
+ ev->serial = input->data.selection.serial;
+ else
+ ev->serial = input->data.drag.serial;
+ }
+ //
ev->display = input->display;
ev->display->refs++;