aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-18 19:59:46 +0100
committeremersion <contact@emersion.fr>2018-07-18 19:59:58 +0100
commit5dca4741dfeb6d9bbd418906ed4412f7d4ba6085 (patch)
treea839a888071470eeb1122b2a88ce585184858b9d /xwayland
parent153f37bdf57c61e7fb09162a6791afe8b9b4d0ef (diff)
xwayland: make xwm_surface_activate static
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c3
1 files changed, 1 insertions, 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)) {