Commit caa58fe9 authored by Giulio Camuffo's avatar Giulio Camuffo
Browse files

Don't generate spurious selection events


By calling destroy() on the active wl_data_source before replacing
it with a new one and calling set_selection() we trigger a spurious
selection(null) event before the one with the offer for the source
we are going to set.

Change-Id: I6c2f2fd029fa523312b9892c6a5050805dfa83b0
Reviewed-by: default avatarPier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@theqtcompany.com>
parent f0e852e5
No related merge requests found
Showing with 1 addition and 1 deletion
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment