xwayland: Forward global position to X
xeyes works as expected now. subwindows are popped also as expected. This
patch should fix the following:
https://bugs.freedesktop.org/show_bug.cgi?id=59983
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
diff --git a/src/compositor.h b/src/compositor.h
index c87d9f1..865b01c 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -94,6 +94,8 @@
uint32_t method,
uint32_t framerate,
struct weston_output *output);
+ void (*set_xwayland)(struct shell_surface *shsurf,
+ int x, int y, uint32_t flags);
int (*move)(struct shell_surface *shsurf, struct weston_seat *ws);
int (*resize)(struct shell_surface *shsurf,
struct weston_seat *ws, uint32_t edges);
@@ -502,7 +504,10 @@
struct weston_shell_interface shell_interface;
struct weston_config *config;
+ /* surface signals */
struct wl_signal activate_signal;
+ struct wl_signal transform_signal;
+
struct wl_signal kill_signal;
struct wl_signal idle_signal;
struct wl_signal wake_signal;