summaryrefslogtreecommitdiff
path: root/desktop-shell/shell.h
diff options
context:
space:
mode:
authorGiulio Camuffo <giuliocamuffo@gmail.com>2015-12-11 20:57:05 +0200
committerDerek Foreman <derekf@osg.samsung.com>2015-12-18 11:48:25 -0600
commitf05d18f3ee8b7d25017bf3ca58561ec5ababbd63 (patch)
treeec7f91da89b49f66bb7a354b60fb94da7c9e9583 /desktop-shell/shell.h
parentc112e0c5bc8198eeb5caf93d8a146d6723ab8bfe (diff)
downloadweston-f05d18f3ee8b7d25017bf3ca58561ec5ababbd63.tar.gz
xwm: let the shells decide the position of X windows
The xwm used to automatically send to Xwayland the position of X windows when that changed, using the x,y of the primary view of the surface. This works fine for the desktop shell but less so for others. This patch adds a 'send_position' vfunc to the weston_shell_client that the shell will call when it wants to let Xwayland know what the position of a window is. The logic used by the desktop-shell for that is exactly the same the xwm used to have. Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: David Fort <contact@hardening-consulting.com>
Diffstat (limited to 'desktop-shell/shell.h')
-rw-r--r--desktop-shell/shell.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-shell/shell.h b/desktop-shell/shell.h
index 2ef23f49..c55a2255 100644
--- a/desktop-shell/shell.h
+++ b/desktop-shell/shell.h
@@ -121,6 +121,7 @@ struct desktop_shell {
struct wl_listener idle_listener;
struct wl_listener wake_listener;
+ struct wl_listener transform_listener;
struct wl_listener destroy_listener;
struct wl_listener show_input_panel_listener;
struct wl_listener hide_input_panel_listener;