Commit 5dca4741 authored by emersion's avatar emersion
Browse files

xwayland: make xwm_surface_activate static

parent 153f37bd
......@@ -241,8 +241,7 @@ static void xwm_send_focus_window(struct wlr_xwm *xwm,
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)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment