diff options
| author | Vlad Zahorodnii <vlad.zahorodnii@kde.org> | 2022-09-21 17:42:58 +0300 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-02-27 20:43:41 +0000 |
| commit | 3815803633a6d3bbde7e0cb9118b834e805cb409 (patch) | |
| tree | bc0dee6ef52876ea17ca7d544f2aa330838727c9 /tests/cpp-compile-test.cpp | |
| parent | protocol: do not change pending x and y when attaching a buffer (diff) | |
| download | wayland-3815803633a6d3bbde7e0cb9118b834e805cb409.tar wayland-3815803633a6d3bbde7e0cb9118b834e805cb409.tar.gz wayland-3815803633a6d3bbde7e0cb9118b834e805cb409.tar.bz2 wayland-3815803633a6d3bbde7e0cb9118b834e805cb409.tar.lz wayland-3815803633a6d3bbde7e0cb9118b834e805cb409.tar.xz wayland-3815803633a6d3bbde7e0cb9118b834e805cb409.tar.zst wayland-3815803633a6d3bbde7e0cb9118b834e805cb409.zip | |
protocol: reorder wl_data_offer.source_actions and wl_data_device.enter
Most compositors send the wl_data_offer.source_actions event before the
wl_data_device.enter event, i.e. after creation of the data offer. This
contradicts to the wayland spec.
On the other hand, it's reasonable to send all the information useful to
the client before the enter event, rather than send mime types before the
enter event and source actions (that don't depend on drop target) after
the enter event.
On the client side, toolkits such as Qt and GTK already expect to see the
source actions before receiving the enter event.
Given all of that, this change adjusts the spec to match the behavior
observed in the compositors in the wild.
Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
