[mutter/wayland] window: Remove transient_for_as_xid
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] window: Remove transient_for_as_xid
- Date: Tue, 18 Mar 2014 14:26:10 +0000 (UTC)
commit 8b4c5459c0e3fd0aed959331600cb6960b6263f8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Mar 18 10:06:39 2014 -0400
window: Remove transient_for_as_xid
It's unused, and it exposes an X11-specific property to API.
src/core/window.c | 19 -------------------
src/meta/window.h | 1 -
2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index c6cf2a3..9b53584 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -9734,25 +9734,6 @@ meta_window_get_transient_for (MetaWindow *window)
}
/**
- * 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:
* @window: a #MetaWindow
*
diff --git a/src/meta/window.h b/src/meta/window.h
index ca67bf0..378b5d8 100644
--- a/src/meta/window.h
+++ b/src/meta/window.h
@@ -205,7 +205,6 @@ void meta_window_raise (MetaWindow *window);
void meta_window_lower (MetaWindow *window);
const char *meta_window_get_title (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,
guint32 timestamp);
guint meta_window_get_stable_sequence (MetaWindow *window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]