Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

xwayland: Add WM_STATE modal property #1222

Merged
merged 1 commit into from
Sep 2, 2018

Conversation

RyanDwyer
Copy link
Member

@RyanDwyer RyanDwyer commented Sep 2, 2018

Adds a modal property to indicate whether the surface wants to be a modal.

Also adds an attention property to indicate whether the surface wants attention, and introduces a request_attention event. I've removed this because the DEMANDS_ATTENTION atom doesn't seem to do what I thought it would.

RyanDwyer added a commit to RyanDwyer/sway that referenced this pull request Sep 2, 2018
Depends on swaywm/wlroots#1222.

I don't know of a program that sets the state to modal without setting
the window type, but I know the modal property works because logging the
property shows it's true for the Firefox Open File dialog.
Adds a modal property to indicate whether the surface wants to be a
modal.
@RyanDwyer RyanDwyer changed the title xwayland: Add WM_STATE modal and attention properties xwayland: Add WM_STATE modal property Sep 2, 2018
@emersion emersion merged commit 69a5279 into swaywm:master Sep 2, 2018
@emersion
Copy link
Member

emersion commented Sep 2, 2018

Thanks!

@RyanDwyer RyanDwyer deleted the xwayland-state-properties branch September 2, 2018 06:50
RyanDwyer added a commit to RyanDwyer/sway that referenced this pull request Sep 2, 2018
Depends on swaywm/wlroots#1222.

I don't know of a program that sets the state to modal without setting
the window type, but I know the modal property works because logging the
property shows it's true for the Firefox Open File dialog.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants