From 26676c8c072f813dc2d7e2b2dfe9e2701ce361a7 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Wed, 8 Mar 2023 23:41:49 +0300 Subject: xwm: use unified map logic --- include/wlr/xwayland/xwayland.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') 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; -- cgit v1.2.3