~ruther/dwl

a4fa9546166c9af277616dd6dcd80e61ee024eb3 — Leonardo Hernández Hernández 1 year, 2 months ago 35951a8
do not restack xwayland surfaces (wlroots!4756)

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

M client.h
M dwl.c
M client.h => client.h +0 -11
@@ 302,17 302,6 @@ client_notify_enter(struct wlr_surface *s, struct wlr_keyboard *kb)
}

static inline void
client_restack_surface(Client *c)
{
#ifdef XWAYLAND
	if (client_is_x11(c))
		wlr_xwayland_surface_restack(c->surface.xwayland, NULL,
				XCB_STACK_MODE_ABOVE);
#endif
	return;
}

static inline void
client_send_close(Client *c)
{
#ifdef XWAYLAND

M dwl.c => dwl.c +0 -1
@@ 1368,7 1368,6 @@ focusclient(Client *c, int lift)
		wl_list_insert(&fstack, &c->flink);
		selmon = c->mon;
		c->isurgent = 0;
		client_restack_surface(c);

		/* Don't change border color if there is an exclusive focus or we are
		 * handling a drag operation */