Listen to fullscreen requests

Fixes #34.
This commit is contained in:
Jente Hidskes 2019-02-14 11:38:29 +01:00
parent 5a1da1baee
commit 1f73275b42
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
4 changed files with 24 additions and 5 deletions

View file

@ -28,8 +28,7 @@ struct cg_xwayland_view {
struct wl_listener unmap;
struct wl_listener map;
struct wl_listener commit;
// TODO: allow applications to go to fullscreen from maximized?
// struct wl_listener request_fullscreen;
struct wl_listener request_fullscreen;
};
struct cg_xwayland_view *xwayland_view_from_view(struct cg_view *view);