mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-25 01:41:06 -05:00
shell: Use new map/unmap events
For xwayland we must listen on associate/dissociate to set up and tear down the map/unmap event handlers instead of during surface create/destroy.
This commit is contained in:
parent
4ea6a8b1a7
commit
2d4b7a4e23
3 changed files with 37 additions and 8 deletions
|
|
@ -10,6 +10,8 @@ struct cg_xwayland_view {
|
|||
struct cg_view view;
|
||||
struct wlr_xwayland_surface *xwayland_surface;
|
||||
struct wl_listener destroy;
|
||||
struct wl_listener associate;
|
||||
struct wl_listener dissociate;
|
||||
struct wl_listener unmap;
|
||||
struct wl_listener map;
|
||||
struct wl_listener request_fullscreen;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue