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);