mirror of
https://github.com/labwc/labwc.git
synced 2026-02-22 01:40:25 -05:00
Chase wlroots: Unified mapping
Need to handle new unified mapping, where mapping is attached to the wlr_surface objects instead of their parents. Also, most of them require a new associate event for xsurface objects, their surface member will be NULL before this event is received. Refactored by jlindgren: - add struct mappable - unify map/unmap logic
This commit is contained in:
parent
bf576e97de
commit
d7dc6e01b4
10 changed files with 142 additions and 52 deletions
|
|
@ -13,12 +13,14 @@ struct xwayland_unmanaged {
|
|||
struct wlr_scene_node *node;
|
||||
struct wl_list link;
|
||||
|
||||
struct mappable mappable;
|
||||
|
||||
struct wl_listener associate;
|
||||
struct wl_listener dissociate;
|
||||
struct wl_listener request_activate;
|
||||
struct wl_listener request_configure;
|
||||
/* struct wl_listener request_fullscreen; */
|
||||
struct wl_listener set_geometry;
|
||||
struct wl_listener map;
|
||||
struct wl_listener unmap;
|
||||
struct wl_listener destroy;
|
||||
struct wl_listener set_override_redirect;
|
||||
};
|
||||
|
|
@ -28,6 +30,8 @@ struct xwayland_view {
|
|||
struct wlr_xwayland_surface *xwayland_surface;
|
||||
|
||||
/* Events unique to XWayland views */
|
||||
struct wl_listener associate;
|
||||
struct wl_listener dissociate;
|
||||
struct wl_listener request_activate;
|
||||
struct wl_listener request_configure;
|
||||
struct wl_listener set_class;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue