[mutter] stack-tracker: Make lower_below / raise_above internal as well
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] stack-tracker: Make lower_below / raise_above internal as well
- Date: Fri, 12 Sep 2014 23:13:23 +0000 (UTC)
commit 2833c702c6d1f62132c9d3cdc75968aa2881e6b5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Sep 12 16:56:27 2014 -0600
stack-tracker: Make lower_below / raise_above internal as well
These are unused elsewhere.
src/core/stack-tracker.c | 18 +++++++++---------
src/core/stack-tracker.h | 6 ------
2 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/src/core/stack-tracker.c b/src/core/stack-tracker.c
index 9de84e1..0187f96 100644
--- a/src/core/stack-tracker.c
+++ b/src/core/stack-tracker.c
@@ -966,7 +966,7 @@ find_x11_sibling_upwards (MetaStackTracker *tracker,
return None;
}
-void
+static void
meta_stack_tracker_lower_below (MetaStackTracker *tracker,
guint64 window,
guint64 sibling)
@@ -1000,14 +1000,7 @@ meta_stack_tracker_lower_below (MetaStackTracker *tracker,
serial);
}
-void
-meta_stack_tracker_lower (MetaStackTracker *tracker,
- guint64 window)
-{
- meta_stack_tracker_raise_above (tracker, window, None);
-}
-
-void
+static void
meta_stack_tracker_raise_above (MetaStackTracker *tracker,
guint64 window,
guint64 sibling)
@@ -1041,6 +1034,13 @@ meta_stack_tracker_raise_above (MetaStackTracker *tracker,
}
void
+meta_stack_tracker_lower (MetaStackTracker *tracker,
+ guint64 window)
+{
+ meta_stack_tracker_raise_above (tracker, window, None);
+}
+
+void
meta_stack_tracker_restack_managed (MetaStackTracker *tracker,
const guint64 *managed,
int n_managed)
diff --git a/src/core/stack-tracker.h b/src/core/stack-tracker.h
index 05242fb..12015ae 100644
--- a/src/core/stack-tracker.h
+++ b/src/core/stack-tracker.h
@@ -54,12 +54,6 @@ void meta_stack_tracker_record_remove (MetaStackTracker *tracker,
/* We also have functions that also go ahead and do the work
*/
-void meta_stack_tracker_raise_above (MetaStackTracker *tracker,
- guint64 window,
- guint64 sibling);
-void meta_stack_tracker_lower_below (MetaStackTracker *tracker,
- guint64 window,
- guint64 sibling);
void meta_stack_tracker_lower (MetaStackTracker *tracker,
guint64 window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]