When requesting the frame extents with _NET_REQUEST_FRAME_EXTENTS of an unmapped window that is hinted via _MOTIF_WM_HINTS to be undecorated, Xfwm4 reports the frame extents of a decorated window. Once the window has been mapped, the correct all-zero frame extent is set to _NET_FRAME_EXTENTS.
You mean before the window has ever been made visible, or a window which was hidden after being mapped?
This happens when making a _NET_REQUEST_FRAME_EXTENTS request before the initial mapping of the window. Once it has been mapped, everything works correctly if I unmap it again.
(In reply to Camilla Löwy Berglund from comment #2)
> This happens when making a _NET_REQUEST_FRAME_EXTENTS request before the
> initial mapping of the window. Once it has been mapped, everything works
> correctly if I unmap it again.
OK, I understand, yes, the way it's done means that _NET_REQUEST_FRAME_EXTENTS on windows that have never been mapped will return the default decoration size regardless of any other MWM hint. A bit of a shortcut, indeed.
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/211.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev