wmww / gtk-layer-shell

A library to create panels and other desktop components for Wayland using the Layer Shell protocol
GNU General Public License v3.0
313 stars 15 forks source link

gtk-wayland: handle xdg_wm_base::ping #174

Closed dkondor closed 5 months ago

dkondor commented 5 months ago

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