window: Remove transient_for_as_xid
It's unused, and it exposes an X11-specific property to API.
This commit is contained in:
parent
d07d5d1328
commit
8b4c5459c0
@ -9733,25 +9733,6 @@ meta_window_get_transient_for (MetaWindow *window)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* meta_window_get_transient_for_as_xid:
|
|
||||||
* @window: a #MetaWindow
|
|
||||||
*
|
|
||||||
* Returns the XID of the window that is pointed to by the
|
|
||||||
* WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
|
|
||||||
* or XSetTransientForHint()). Metacity keeps transient windows above their
|
|
||||||
* parents. A typical usage of this hint is for a dialog that wants to stay
|
|
||||||
* above its associated window.
|
|
||||||
*
|
|
||||||
* Return value: (transfer none): the window this window is transient for, or
|
|
||||||
* None if the WM_TRANSIENT_FOR hint is unset.
|
|
||||||
*/
|
|
||||||
Window
|
|
||||||
meta_window_get_transient_for_as_xid (MetaWindow *window)
|
|
||||||
{
|
|
||||||
return window->xtransient_for;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* meta_window_get_pid:
|
* meta_window_get_pid:
|
||||||
* @window: a #MetaWindow
|
* @window: a #MetaWindow
|
||||||
|
@ -205,7 +205,6 @@ void meta_window_raise (MetaWindow *window);
|
|||||||
void meta_window_lower (MetaWindow *window);
|
void meta_window_lower (MetaWindow *window);
|
||||||
const char *meta_window_get_title (MetaWindow *window);
|
const char *meta_window_get_title (MetaWindow *window);
|
||||||
MetaWindow *meta_window_get_transient_for (MetaWindow *window);
|
MetaWindow *meta_window_get_transient_for (MetaWindow *window);
|
||||||
Window meta_window_get_transient_for_as_xid (MetaWindow *window);
|
|
||||||
void meta_window_delete (MetaWindow *window,
|
void meta_window_delete (MetaWindow *window,
|
||||||
guint32 timestamp);
|
guint32 timestamp);
|
||||||
guint meta_window_get_stable_sequence (MetaWindow *window);
|
guint meta_window_get_stable_sequence (MetaWindow *window);
|
||||||
|
Loading…
Reference in New Issue
Block a user