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 448043 - Add API to get the name of the current manager
Add API to get the name of the current manager
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks: 345153
 
 
Reported: 2007-06-15 22:36 UTC by Vincent Untz
Modified: 2007-06-15 23:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add API to get WM name (6.29 KB, patch)
2007-06-15 22:36 UTC, Vincent Untz
committed Details | Review

Description Vincent Untz 2007-06-15 22:36:24 UTC
The following patch adds wnck_screen_get_window_manager_name() which is based on _NET_SUPPORTING_WM_CHECK.

Review welcome :-)
Comment 1 Vincent Untz 2007-06-15 22:36:53 UTC
Created attachment 90039 [details] [review]
Add API to get WM name
Comment 2 Elijah Newren 2007-06-15 23:26:26 UTC
Looks fine to me.  If we ever get a _NET_WM_VERSION property (a standardized version of the _METACITY_VERSION property currently used) then we should be able to easily add it.   Curious, though, any use case in mind?
Comment 3 Vincent Untz 2007-06-15 23:49:16 UTC
Thanks! Only one use case in mind right now: bug 345153 :-) And, well, covering more of the EWMH can only be good!