Skip to content

fix: popup event handling with keyboard exclusive layers - #15729

Merged
vaxerski merged 1 commit into
hyprwm:mainfrom
aurelleb:fix/mouse-event-on-exclusive-layer-popup
Aug 3, 2026
Merged

vaxerski merged 1 commit into
hyprwm:mainfrom
aurelleb:fix/mouse-event-on-exclusive-layer-popup

Conversation

@aurelleb

@aurelleb aurelleb commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Describe your PR, what does it fix/add?

Native wayland popups attached to layers with keyboard interactivity set to exclusive didn't receive any mouse event, the layer was eating it all.

In practice this resulted in many popups outright closing on click, since very often, clicking outside of the popup makes the application close the popup.

Is it ready for merging, or does it need work?

ready

Native wayland popups attached to layers with keyboard interactivity set
to exclusive didn't receive any mouse event, the layer was eating it
all.

In practice this resulted in many popups outright closing on click,
since very often clicking outside of the popup makes the application
close the popup.

Only affects applications making use of native wayland popups of course.

@vaxerski vaxerski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

tnx

@vaxerski
vaxerski merged commit 78e2f9b into hyprwm:main Aug 3, 2026
11 checks passed
vaxerski pushed a commit that referenced this pull request Aug 5, 2026
Native wayland popups attached to layers with keyboard interactivity set
to exclusive didn't receive any mouse event, the layer was eating it
all.

In practice this resulted in many popups outright closing on click,
since very often clicking outside of the popup makes the application
close the popup.

Only affects applications making use of native wayland popups of course.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants