mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
xwayland: make xwm_surface_activate static
This commit is contained in:
parent
153f37bdf5
commit
5dca4741df
1 changed files with 1 additions and 2 deletions
|
|
@ -241,8 +241,7 @@ static void xwm_send_focus_window(struct wlr_xwm *xwm,
|
||||||
XCB_CONFIG_WINDOW_STACK_MODE, values);
|
XCB_CONFIG_WINDOW_STACK_MODE, values);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void xwm_surface_activate(struct wlr_xwm *xwm,
|
||||||
void xwm_surface_activate(struct wlr_xwm *xwm,
|
|
||||||
struct wlr_xwayland_surface *xsurface) {
|
struct wlr_xwayland_surface *xsurface) {
|
||||||
if (xwm->focus_surface == xsurface ||
|
if (xwm->focus_surface == xsurface ||
|
||||||
(xsurface && xsurface->override_redirect)) {
|
(xsurface && xsurface->override_redirect)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue