Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass pointer events to surface layers #1674

Merged
merged 1 commit into from
Mar 31, 2018
Merged

Pass pointer events to surface layers #1674

merged 1 commit into from
Mar 31, 2018

Conversation

ddevault
Copy link
Contributor

No description provided.

// TODO: Test popups/subsurfaces
if (wlr_box_contains_point(&box, ox, oy) &&
pixman_region32_contains_point(
&wlr_surface->current->input, _sx, _sy, NULL)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll probably want to wrap this into a wlr function

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meh

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright you convinced me

ddevault added a commit to swaywm/wlroots that referenced this pull request Mar 31, 2018
@ddevault
Copy link
Contributor Author

Will switch to wlr_surface_point_accepts_input later so I can avoid some annoying rebasing

@ddevault ddevault merged commit 4b0fcde into wlroots Mar 31, 2018
@ddevault ddevault deleted the layer-input branch March 31, 2018 02:20
ddevault added a commit to swaywm/wlroots that referenced this pull request Mar 31, 2018
Ongy pushed a commit to Ongy/wlroots that referenced this pull request May 4, 2018
ddevault added a commit to swaywm/rootston that referenced this pull request Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants