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 597010 - meta_window_get_transient_for_xid() accessor
meta_window_get_transient_for_xid() accessor
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2009-10-01 15:48 UTC by Tomas Frydrych
Modified: 2009-10-07 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add meta_window_get_transient_for_xid() (1.96 KB, patch)
2009-10-01 15:48 UTC, Tomas Frydrych
committed Details | Review

Description Tomas Frydrych 2009-10-01 15:48:43 UTC
Created attachment 144509 [details] [review]
Add meta_window_get_transient_for_xid()

The attached patch adds accessor for the MetaWindow::transient_for field;
unlike meta_window_get_transient_for() this function returns the window xid
regardless whether a window of that xid is known to Mutter or not.
Comment 1 Owen Taylor 2009-10-02 22:47:55 UTC
Comment on attachment 144509 [details] [review]
Add meta_window_get_transient_for_xid()

OK as is, but maybe it would be better as meta_window_get_transient_for_as_xid()?

Before I looked at the patch I was expecting a function that returned transient windows for a given XID or something like that.
Comment 2 Tomas Frydrych 2009-10-05 09:19:17 UTC
Thanks, I will insert the _as_ as suggested into the function name before committing.
Comment 3 Tomas Frydrych 2009-10-07 10:58:01 UTC
Comment on attachment 144509 [details] [review]
Add meta_window_get_transient_for_xid()

Committed as 948e54772d00f1dc06ba604a2c76847ac55559e0, with the mentioned modification.