commit | 5f93b9f640b456de0406cc1be9685b3d768ce0c0 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Wed Jan 18 15:37:59 2017 +0200 |
committer | Daniel Stone <daniels@collabora.com> | Thu Apr 13 11:37:25 2017 +0100 |
tree | 6a2431bb1e8b08c077e05672f17551a1bfffc51c | |
parent | 7ace831ca6205ea288e49fdbd6b63f53e73fae59 [diff] |
libweston-desktop/xwayland: react to geometry changes Fix up the window position whenever the geometry info changes. If the window geometry changes, we want to keep the input-responding content anchored to top-left. It is done by manipulating the dx,dy arguments originating from a wl_surface.attach request. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com>