aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
commit906a816abf812445ec9e514e6115872632fb3ee1 (patch)
tree6ff2b749c5d06505fe13f3ebabb020f9128bd8e9 /include/wlr
parent7cf4ee128e278108b0326344be01ded93ce7148b (diff)
Fix rootston keyboard, add Xwayland
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/xwayland.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 41b8042f..e3eadc2d 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -21,6 +21,12 @@ struct wlr_xwayland {
struct wl_listener destroy_listener;
struct wlr_xwm *xwm;
struct wl_list displayable_windows;
+
+ struct {
+ struct wl_signal new_surface;
+ } events;
+
+ void *data;
};
struct wlr_x11_window {
@@ -28,11 +34,17 @@ struct wlr_x11_window {
uint32_t surface_id;
struct wl_list link;
- struct wl_resource *surface;
+ struct wlr_surface *surface;
struct wl_listener surface_destroy_listener;
int16_t x, y;
uint16_t width, height;
bool override_redirect;
+
+ struct {
+ struct wl_signal destroy;
+ } events;
+
+ void *data;
};
void wlr_xwayland_destroy(struct wlr_xwayland *wlr_xwayland);