Skip to content

Fix gdk_wayland_window_announce_csd

David Edmundson requested to merge david2/gtk:fix_wayland_csd_announce into gtk-3-24

The original code had 3 bugs.

According to the spec compositors were to assume surfaces are CSD until told otherwise. This means we need to send org_kde_kwin_server_decoration_request_mode in both cases.

The wl_surface is recreated on map/unmap events. If we recreate the wl_surface we have to recreate the org_kde_kwin_server_decoration object with the new surface.

It leaked.

This fixes libreoffice under kwin, which would remove it's own headers as per the manager's request but not inform kwin leaving it in the even more broken state of having none.

Merge request reports