From 2833c702c6d1f62132c9d3cdc75968aa2881e6b5 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 12 Sep 2014 16:56:27 -0600 Subject: [PATCH] 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 9de84e15d..0187f9634 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) @@ -1040,6 +1033,13 @@ meta_stack_tracker_raise_above (MetaStackTracker *tracker, sibling, serial); } +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, diff --git a/src/core/stack-tracker.h b/src/core/stack-tracker.h index 05242fb0d..12015ae23 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);