mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 14:11:59 -07:00
layer-shell: move to new impl
Also bumps the hw-s dep
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "../config/ConfigValue.hpp"
|
||||
#include "../protocols/GammaControl.hpp"
|
||||
#include "../devices/ITouch.hpp"
|
||||
#include "../protocols/LayerShell.hpp"
|
||||
|
||||
int ratHandler(void* data) {
|
||||
g_pHyprRenderer->renderMonitor((CMonitor*)data);
|
||||
@@ -254,7 +255,7 @@ void CMonitor::onDisconnect(bool destroy) {
|
||||
for (size_t i = 0; i < 4; ++i) {
|
||||
for (auto& ls : m_aLayerSurfaceLayers[i]) {
|
||||
if (ls->layerSurface && !ls->fadingOut)
|
||||
wlr_layer_surface_v1_destroy(ls->layerSurface);
|
||||
ls->layerSurface->sendClosed();
|
||||
}
|
||||
m_aLayerSurfaceLayers[i].clear();
|
||||
}
|
||||
|
Reference in New Issue
Block a user