xwayland: Add WM_STATE modal property

Adds a modal property to indicate whether the surface wants to be a
modal.
This commit is contained in:
Ryan Dwyer 2018-09-02 14:23:22 +10:00 committed by emersion
parent a0bf3f150e
commit 69a5279f79
3 changed files with 14 additions and 2 deletions

View file

@ -138,6 +138,7 @@ struct wlr_xwayland_surface {
struct wl_event_source *ping_timer;
// _NET_WM_STATE
bool modal;
bool fullscreen;
bool maximized_vert, maximized_horz;