After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 165350 - Metacity should announce its version in a window property
Metacity should announce its version in a window property
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
unspecified
Other All
: Normal enhancement
: 2.10.x
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2005-01-26 21:37 UTC by Billy Biggs
Modified: 2005-02-07 04:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Set a _METACITY_VERSION property (a utf8 string) on the WM check window (1.77 KB, patch)
2005-02-07 02:17 UTC, Elijah Newren
none Details | Review

Description Billy Biggs 2005-01-26 21:37:24 UTC
For writing workarounds to bugs in metacity, it is useful to know what version
is actually running.  Checking the version is not foolproof, the most common
case being patches backported by distributions or user-modified code, having a
version number to check that is the base upstream version is usually sufficient.

A reasonable proposal for this hint would be a _METACITY_VERSION property on the
WM check window.  See bug 165243.
Comment 1 Elijah Newren 2005-02-04 04:07:46 UTC
Well, the fullscreen fix won't do you much good unless we get this one handled
too, so I'll set it on the 2.10 milestone...
Comment 2 Elijah Newren 2005-02-07 02:17:10 UTC
Created attachment 37083 [details] [review]
Set a _METACITY_VERSION property (a utf8 string) on the WM check window
Comment 3 Havoc Pennington 2005-02-07 04:01:43 UTC
Comment on attachment 37083 [details] [review]
Set a _METACITY_VERSION property (a utf8 string) on the WM check window

Should set the hint before you make the window visible to apps by placing it in
the property, otherwise there's a race. i.e. move this up next to where we set
the name "Metacity"

Looks good to commit with that change.
Comment 4 Elijah Newren 2005-02-07 04:37:49 UTC
Committed with the change.