weston/clients
Carlos Garnacho f377535aff dnd: Turn into a full blown example
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>
2016-01-19 12:34:36 +08:00
..
calibrator.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
clickdot.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
cliptest.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
desktop-shell.c desktop-shell: Rename protocol weston_desktop_shell 2015-11-19 14:58:58 +02:00
dnd.c dnd: Turn into a full blown example 2016-01-19 12:34:36 +08:00
editor.c Use text input protocol from wayland-protocols 2015-11-19 13:07:10 +02:00
eventdemo.c Support axis source, axis discrete, frame and axis stop events 2016-01-19 12:33:26 +08:00
flower.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
fullscreen.c Use fullscreen-shell.xml from wayland-protocols 2015-11-19 12:50:56 +02:00
gears.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
image.c cosmetic: Remove a few double semicolons 2015-10-07 11:22:03 -07:00
ivi-shell-user-interface.c hmi-controller: allocate background surfaces for multi-screen 2015-12-14 13:16:11 +02:00
keyboard.c Use input method protocol from wayland-protocols 2015-11-19 13:17:59 +02:00
multi-resource.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
nested-client.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
nested.c Moved the MIN() macro to the helper include. 2015-06-15 17:11:52 -07:00
presentation-shm.c presentation-shm: Allow setting of delay before surface.commit 2015-07-16 13:51:03 +03:00
resizor.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
scaler.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
screenshot.c Rename screenshooter protocol to weston_screenshooter 2015-11-19 15:07:24 +02:00
simple-damage.c clients: Fix compositor version check for WL_SURFACE_DAMAGE_BUFFER_SINCE_VERSION 2016-01-14 16:36:21 -06:00
simple-dmabuf-intel.c clients: Fix a few issues in simple-dmabuf-intel 2016-01-11 13:31:48 -06:00
simple-dmabuf-v4l.c clients: fix build on Linux 2016-01-14 13:50:23 -06:00
simple-egl.c Use xdg_shell protocol from wayland-protocols 2015-11-19 14:49:52 +02:00
simple-shm.c Use xdg_shell protocol from wayland-protocols 2015-11-19 14:49:52 +02:00
simple-touch.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
smoke.c smoke: Don't post extra damage 2015-11-20 15:27:55 +02:00
stacking.c clients: Correct drawing glitch in stacking demo 2015-10-21 16:57:47 -05:00
subsurfaces.c Use [x]zalloc instead of [x]malloc + memset 2015-08-07 11:59:10 -07:00
terminal.c terminal: allow copy-paste when selection is scrolled out 2015-09-22 18:37:19 -07:00
transformed.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
weston-info.c weston-info: display output scale 2015-12-18 17:45:30 +02:00
weston-simple-im.c Use input method protocol from wayland-protocols 2015-11-19 13:17:59 +02:00
window.c client: Add DnD cursors to the managed cursors list 2016-01-19 12:34:36 +08:00
window.h client: Add DnD cursors to the managed cursors list 2016-01-19 12:34:36 +08:00