From 5dca4741dfeb6d9bbd418906ed4412f7d4ba6085 Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 18 Jul 2018 19:59:46 +0100 Subject: [PATCH] xwayland: make xwm_surface_activate static --- xwayland/xwm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xwayland/xwm.c b/xwayland/xwm.c index bbaa4372..09428bd3 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -241,8 +241,7 @@ static void xwm_send_focus_window(struct wlr_xwm *xwm, XCB_CONFIG_WINDOW_STACK_MODE, values); } - -void xwm_surface_activate(struct wlr_xwm *xwm, +static void xwm_surface_activate(struct wlr_xwm *xwm, struct wlr_xwayland_surface *xsurface) { if (xwm->focus_surface == xsurface || (xsurface && xsurface->override_redirect)) {