} else {
struct wlr_xwayland_surface *xsurface =
wlr_xwayland_surface_try_from_wlr_surface(surface);
- if (xsurface && wlr_xwayland_or_surface_wants_focus(xsurface)) {
+ if (xsurface && wlr_xwayland_surface_override_redirect_wants_focus(xsurface)) {
seat_focus_surface(seat, surface);
}
#endif
CONNECT_SIGNAL(xsurface, unmanaged, set_geometry);
- if (wlr_xwayland_or_surface_wants_focus(xsurface)) {
+ if (wlr_xwayland_surface_override_redirect_wants_focus(xsurface)) {
seat_focus_surface(&unmanaged->server->seat, xsurface->surface);
}
struct wl_list *list = &server->unmanaged_surfaces;
wl_list_for_each_reverse(u, list, link) {
struct wlr_xwayland_surface *prev = u->xwayland_surface;
- if (wlr_xwayland_or_surface_wants_focus(prev)) {
+ if (wlr_xwayland_surface_override_redirect_wants_focus(prev)) {
seat_focus_surface(&server->seat, prev->surface);
return;
}
struct wlr_xwayland_surface *xsurface =
xwayland_surface_from_view(view);
- switch (wlr_xwayland_icccm_input_model(xsurface)) {
+ switch (wlr_xwayland_surface_icccm_input_model(xsurface)) {
/*
* Abbreviated from ICCCM section 4.1.7 (Input Focus):
*
[wrap-git]
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 5ecbd23c1d44119cb32b345782d50c9664853109
+revision = d3b7e040af46ab03114d5a40e9ed0c7c6aff15be
[provide]
dependency_names = wlroots-0.19