Go to file
Thiep Ha 435a8bcd24 wayland cnp: check selection owner before calling losscb
The selection is cleared by losscb when we set it.
As result, selection is not done.
To avoid it, we should check if the new selection owner
is current selection owner or not and only call losscb
if the new selection owner is not the current one.

Test Plan:
In wayland, select text in entry (e.g double click, ctrl-a).
2015-12-17 18:13:17 +00:00
legacy/elementary wayland cnp: check selection owner before calling losscb 2015-12-17 18:13:17 +00:00