! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
_NET_REQUEST_FRAME_EXTENTS ignores _MOTIF_WM_HINTS
Status:
RESOLVED: MOVED

Comments

Description Camilla Löwy Berglund 2016-02-28 18:12:16 CET
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.
Comment 1 Olivier Fourdan editbugs 2016-02-29 09:51:27 CET
You mean before the window has ever been made visible, or a window which was hidden after being mapped?
Comment 2 Camilla Löwy Berglund 2016-02-29 10:50:35 CET
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.
Comment 3 Olivier Fourdan editbugs 2016-02-29 11:08:01 CET
(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.
Comment 4 Git Bot editbugs 2020-05-29 12:09:59 CEST
-- 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

Bug #12472

Reported by:
Camilla Löwy Berglund
Reported on: 2016-02-28
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.12.0

Attachments

Additional information