From 9ec49144ac65db8a56e678670e12e31b308df753 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 26 Sep 2025 19:17:56 +0100 Subject: [PATCH] Privatize desktop_topmost_focusable_view() --- include/labwc.h | 1 - src/desktop.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/labwc.h b/include/labwc.h index c75b1e39..5a3bbefa 100644 --- a/include/labwc.h +++ b/include/labwc.h @@ -359,7 +359,6 @@ void desktop_focus_view_or_surface(struct seat *seat, struct view *view, void desktop_arrange_all_views(struct server *server); void desktop_focus_output(struct output *output); -struct view *desktop_topmost_focusable_view(struct server *server); /** * Toggles the (output local) visibility of the layershell top layer diff --git a/src/desktop.c b/src/desktop.c index dc2aa1a2..bac6c065 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -132,7 +132,7 @@ desktop_focus_view_or_surface(struct seat *seat, struct view *view, } } -struct view * +static struct view * desktop_topmost_focusable_view(struct server *server) { struct view *view; -- 2.52.0