mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-28 05:10:12 +01:00
Needed for implementing drag'n'drop icons. When a drag starts, the compositor will position the top-left corner of the client supplied icon surface at the cursor hotspot. On the first attach to that surface, the client may want to reposition it but shell->map did not take sx and sy parameters. This changes shell->map interface to take sx and sy parameters and change dekstop shell implementation to update the position of a surface of type none according to those parameters. Since a surface of type none won't actually be mapped, the effect of this change is only visible for surfaces that are made visible by the compositor. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| compositor-drm.c | ||
| compositor-openwfd.c | ||
| compositor-wayland.c | ||
| compositor-x11.c | ||
| compositor.c | ||
| compositor.h | ||
| evdev.c | ||
| evdev.h | ||
| hash.c | ||
| hash.h | ||
| image-loader.c | ||
| Makefile.am | ||
| matrix.c | ||
| matrix.h | ||
| screenshooter.c | ||
| shell.c | ||
| switcher.c | ||
| tablet-shell.c | ||
| tty.c | ||
| util.c | ||
| xserver-launcher.c | ||