aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-03-08 23:41:49 +0300
committerIsaac Freund <mail@isaacfreund.com>2023-06-02 17:26:18 +0000
commit26676c8c072f813dc2d7e2b2dfe9e2701ce361a7 (patch)
tree98adaab9765bf4a8b8932e8bac04987c2dfcd940 /include
parentaf4181f3880dedcc7c717cfd54c047737bd95ee4 (diff)
xwm: use unified map logic
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland/xwayland.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h
index 4e618f5b..944d3907 100644
--- a/include/wlr/xwayland/xwayland.h
+++ b/include/wlr/xwayland/xwayland.h
@@ -93,13 +93,13 @@ struct wlr_xwayland_surface {
struct wlr_surface *surface;
struct wlr_addon surface_addon;
struct wl_listener surface_commit;
- struct wl_listener surface_precommit;
+ struct wl_listener surface_map;
+ struct wl_listener surface_unmap;
int16_t x, y;
uint16_t width, height;
uint16_t saved_width, saved_height;
bool override_redirect;
- bool mapped;
char *title;
char *class;
@@ -153,8 +153,6 @@ struct wlr_xwayland_surface {
struct wl_signal associate;
struct wl_signal dissociate;
- struct wl_signal map;
- struct wl_signal unmap;
struct wl_signal set_title;
struct wl_signal set_class;
struct wl_signal set_role;