mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
disable scene node at unmaplayersurface()
This commit is contained in:
parent
2623a96ebf
commit
b91017e713
1 changed files with 2 additions and 1 deletions
3
dwl.c
3
dwl.c
|
@ -2250,7 +2250,8 @@ toggleview(const Arg *arg)
|
||||||
void
|
void
|
||||||
unmaplayersurface(LayerSurface *layersurface)
|
unmaplayersurface(LayerSurface *layersurface)
|
||||||
{
|
{
|
||||||
layersurface->layer_surface->mapped = 0;
|
layersurface->layer_surface->mapped = layersurface->mapped = 0;
|
||||||
|
wlr_scene_node_set_enabled(layersurface->scene, 0);
|
||||||
if (layersurface->layer_surface->surface ==
|
if (layersurface->layer_surface->surface ==
|
||||||
seat->keyboard_state.focused_surface)
|
seat->keyboard_state.focused_surface)
|
||||||
focusclient(selclient(), 1);
|
focusclient(selclient(), 1);
|
||||||
|
|
Loading…
Reference in a new issue