mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-13 13:29:44 -05:00
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:
parent
a0bf3f150e
commit
69a5279f79
3 changed files with 14 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ enum atom_name {
|
|||
_NET_WM_MOVERESIZE,
|
||||
_NET_WM_NAME,
|
||||
_NET_SUPPORTING_WM_CHECK,
|
||||
_NET_WM_STATE_MODAL,
|
||||
_NET_WM_STATE_FULLSCREEN,
|
||||
_NET_WM_STATE_MAXIMIZED_VERT,
|
||||
_NET_WM_STATE_MAXIMIZED_HORZ,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue