mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-03 11:11:06 +00:00
f377535aff
In order to keep things simple, weston-dnd made a few choices that turn out to be unrealistic, a few tweaks have been done to make it less of a playground demo: - It now caters for copy/move operations, instead of just move, which still remains the default nonetheless. - As "move" operations are no longer assumed, the item isn't removed on start_drag, instead it is made translucent until the drag operation finishes (and we know whether the item is to be removed after transfer or left as is) - For the same reasons, "Drop nowhere to delete item" no longer happens. Drag-and-drop is a failable operation and must not result in data loss. - As multiple actions are now allowed, we set the pointer icon surface accordingly to the current operation. This makes weston-dnd a better example of what applications usually want to do here. Changes since v2: - Updated to behave alright-ish with version < 3. Changes since v1: - Remove unneeded include. Remove extra newlines. Other minor code fixes. Signed-off-by: Carlos Garnacho <carlosg@gnome.org> Reviewed-by: Jonas Ådahl <jadahl@gmail.com> |
||
---|---|---|
.. | ||
calibrator.c | ||
clickdot.c | ||
cliptest.c | ||
desktop-shell.c | ||
dnd.c | ||
editor.c | ||
eventdemo.c | ||
flower.c | ||
fullscreen.c | ||
gears.c | ||
image.c | ||
ivi-shell-user-interface.c | ||
keyboard.c | ||
multi-resource.c | ||
nested-client.c | ||
nested.c | ||
presentation-shm.c | ||
resizor.c | ||
scaler.c | ||
screenshot.c | ||
simple-damage.c | ||
simple-dmabuf-intel.c | ||
simple-dmabuf-v4l.c | ||
simple-egl.c | ||
simple-shm.c | ||
simple-touch.c | ||
smoke.c | ||
stacking.c | ||
subsurfaces.c | ||
terminal.c | ||
transformed.c | ||
weston-info.c | ||
weston-simple-im.c | ||
window.c | ||
window.h |