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

gtk-wayland: handle xdg_wm_base::ping #174

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Conversation

dkondor
Copy link
Contributor

@dkondor dkondor commented Feb 4, 2024

Fixes #173

This seems to be necessary on KWin, otherwise regular xdg-toplevels would be detected as "unresponsible". Note: I assume that GTK already does this, but since we connect to xdg_wm_base separately, this seems required here as well (I don't know if KWin picks arbitrarily one xdg_wm_base object to send pings to or sends it to all of them though).

By opening this pull request, I agree for my modifications to be licensed under whatever licenses are indicated at the start of the files I modified

This seems to be necessary on KWin, otherwise regular xdg-toplevels would be detected as "unresponsible". Note: I assume that GTK already does this, but since we connect to xdg_wm_base separately, this seems required here as well (I don't know if KWin picks arbitrarily one xdg_wm_base object to send pings to or sends it to all of them though).
Copy link
Owner

@wmww wmww left a comment

Choose a reason for hiding this comment

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

LGTM

@wmww wmww merged commit 5f71546 into wmww:master Feb 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xdg_wm_base::ping not handled? (normal xdg_toplevels appear unresponsive on KWin)
2 participants