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

Use new wlroots API for clearing keyboard/pointer focus during grabs #5368

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

tchebb
Copy link
Contributor

@tchebb tchebb commented May 21, 2020

We are not allowed to do what we did in #5222 and pass a NULL surface wlr_seat_pointer_notify_enter(), and it's causing crashes when an xdg-shell popup is active (see #5294 and swaywm/wlroots#2161).

Instead, solve #5220 using the new wlroots API introduced in swaywm/wlroots#2217.

We are not allowed to do what we did in swaywm#5222 and pass a `NULL` surface
wlr_seat_pointer_notify_enter(), and it's causing crashes when an
xdg-shell popup is active (see swaywm#5294 and swaywm/wlroots#2161).

Instead, solve swaywm#5220 using the new wlroots API introduced in
swaywm/wlroots#2217.
@Emantor
Copy link
Contributor

Emantor commented May 26, 2020

I tested this in conjunction with the swaywm/wlroots#2217 and can confirm that this fixes the annoying crashes I observe when changing windows while a right-click menu is open.

@emersion emersion mentioned this pull request Jun 4, 2020
@emersion emersion added this to the 1.5 milestone Jun 4, 2020
Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

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

Thanks!

@emersion emersion merged commit 84ec8f9 into swaywm:master Jun 5, 2020
Xyene added a commit to Xyene/sway that referenced this pull request Jun 19, 2020
emersion pushed a commit that referenced this pull request Jun 19, 2020
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

3 participants