weston/src
Ander Conselvan de Oliveira e9e0515cec shell: update position of surfaces with type none on map()
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>
2012-02-16 23:19:39 -05:00
..
.gitignore update git ignores 2012-01-27 10:44:22 +02:00
compositor-drm.c compositor: move weston_surface::width,height into geometry 2012-01-27 16:15:02 +02:00
compositor-openwfd.c compositor: Pull prepare_render and present callouts into repaint 2012-01-25 23:47:45 -05:00
compositor-wayland.c Merge remote-tracking branch 'pq/transform-fixes2' 2012-02-07 11:08:03 -05:00
compositor-x11.c compositor: Remove prepare_scanout_surface callout 2012-01-25 23:59:44 -05:00
compositor.c shell: update position of surfaces with type none on map() 2012-02-16 23:19:39 -05:00
compositor.h shell: update position of surfaces with type none on map() 2012-02-16 23:19:39 -05:00
evdev.c Revert "weston: Drop priviledges early, and seteuid when needed" 2012-01-24 12:41:19 -05:00
evdev.h Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
hash.c Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
hash.h Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
image-loader.c Fix a few missing wlsc->weston renames 2012-01-03 11:40:25 -05:00
Makefile.am compositor: Link to libm 2012-01-27 11:57:28 -05:00
matrix.c compositor: simplify the matrix inversion API 2012-01-27 10:44:22 +02:00
matrix.h compositor: simplify the matrix inversion API 2012-01-27 10:44:22 +02:00
screenshooter.c Merge remote-tracking branch 'pq/compositor-dtors-v1' 2012-01-03 11:36:37 -05:00
shell.c shell: update position of surfaces with type none on map() 2012-02-16 23:19:39 -05:00
switcher.c Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
tablet-shell.c shell: update position of surfaces with type none on map() 2012-02-16 23:19:39 -05:00
tty.c Revert "weston: Drop priviledges early, and seteuid when needed" 2012-01-24 12:41:19 -05:00
util.c compositor: move weston_surface::width,height into geometry 2012-01-27 16:15:02 +02:00
xserver-launcher.c xserver: Create WM window, handle client messages 2012-01-15 22:16:11 -05:00