use wlr_scene_node_raise_to_top()
This commit is contained in:
parent
2b2f72d7c2
commit
b97d9e1ce1
7
dwl.c
7
dwl.c
|
@ -1067,11 +1067,8 @@ focusclient(Client *c, int lift)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Raise client in stacking order if requested */
|
/* Raise client in stacking order if requested */
|
||||||
if (c && lift) {
|
if (c && lift)
|
||||||
/* This isn't easy to do via the current API */
|
wlr_scene_node_raise_to_top(c->scene);
|
||||||
wl_list_remove(&c->scene->state.link);
|
|
||||||
wl_list_insert(c->scene->parent->state.children.prev, &c->scene->state.link);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (c && client_surface(c) == old)
|
if (c && client_surface(c) == old)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue