~ruther/dwl

da6de7c4d7a2858d463945dc185abc5ae7796960 — Leonardo Hernández Hernández 1 year, 2 months ago 2553111
update wlr_xwayland_surface names (wlroots!2434)

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2434
1 files changed, 2 insertions(+), 2 deletions(-)

M client.h
M client.h => client.h +2 -2
@@ 391,8 391,8 @@ client_wants_focus(Client *c)
{
#ifdef XWAYLAND
	return client_is_unmanaged(c)
		&& wlr_xwayland_or_surface_wants_focus(c->surface.xwayland)
		&& wlr_xwayland_icccm_input_model(c->surface.xwayland) != WLR_ICCCM_INPUT_MODEL_NONE;
		&& wlr_xwayland_surface_override_redirect_wants_focus(c->surface.xwayland)
		&& wlr_xwayland_surface_icccm_input_model(c->surface.xwayland) != WLR_ICCCM_INPUT_MODEL_NONE;
#endif
	return 0;
}