xwm: use unified map logic

This commit is contained in:
Kirill Primak 2023-03-08 23:41:49 +03:00 committed by Isaac Freund
parent af4181f388
commit 26676c8c07
2 changed files with 21 additions and 40 deletions

View file

@ -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;