~ruther/dwl

b97d9e1ce102fe0aa2331b480827b523164c7d42 — Leonardo Hernandez Hernandez 3 years ago 2b2f72d
use wlr_scene_node_raise_to_top()
1 files changed, 2 insertions(+), 5 deletions(-)

M dwl.c
M dwl.c => dwl.c +2 -5
@@ 1067,11 1067,8 @@ focusclient(Client *c, int lift)
	int i;

	/* Raise client in stacking order if requested */
	if (c && lift) {
		/* This isn't easy to do via the current API */
		wl_list_remove(&c->scene->state.link);
		wl_list_insert(c->scene->parent->state.children.prev, &c->scene->state.link);
	}
	if (c && lift)
		wlr_scene_node_raise_to_top(c->scene);

	if (c && client_surface(c) == old)
		return;

Do not follow this link