mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 12:26:00 +01:00
fixed a bug with layers duplicating
This commit is contained in:
parent
63ec83e179
commit
7b612b46b8
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ void Events::listener_newLayerSurface(wl_listener* listener, void* data) {
|
|||
wl_signal_add(&WLRLAYERSURFACE->surface->events.new_subsurface, &layerSurface->listen_newSubsurface);
|
||||
|
||||
layerSurface->layerSurface = WLRLAYERSURFACE;
|
||||
layerSurface->layer = WLRLAYERSURFACE->current.layer;
|
||||
WLRLAYERSURFACE->data = layerSurface;
|
||||
layerSurface->monitorID = PMONITOR->ID;
|
||||
|
||||
|
|
Loading…
Reference in a new issue