From: Johan Malm Date: Fri, 26 Sep 2025 18:17:56 +0000 (+0100) Subject: Privatize desktop_topmost_focusable_view() X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=9ec49144ac65db8a56e678670e12e31b308df753;p=proto%2Flabwc.git Privatize desktop_topmost_focusable_view() --- 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;