diff options
author | vaxerski <[email protected]> | 2023-02-10 12:54:57 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-02-10 12:54:57 +0000 |
commit | d1a7f1dd368517854fdcc12a9bdd189578eef435 (patch) | |
tree | 46c816993f9998479be778cebb9374df82260cfa | |
parent | 1dde751da4a4cd83648b5fe343c1c2687d3a2997 (diff) | |
download | Hyprland-d1a7f1dd368517854fdcc12a9bdd189578eef435.tar.gz Hyprland-d1a7f1dd368517854fdcc12a9bdd189578eef435.zip |
don't alter LS geom on unmap
-rw-r--r-- | src/events/Layers.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp index 9353c846..e72af5dd 100644 --- a/src/events/Layers.cpp +++ b/src/events/Layers.cpp @@ -246,9 +246,6 @@ void Events::listener_unmapLayerSurface(void* owner, void* data) { geomFixed = {layersurface->geometry.x + (int)PMONITOR->vecPosition.x, layersurface->geometry.y + (int)PMONITOR->vecPosition.y, (int)layersurface->layerSurface->surface->current.width, (int)layersurface->layerSurface->surface->current.height}; g_pHyprRenderer->damageBox(&geomFixed); - - geomFixed = {layersurface->geometry.x, layersurface->geometry.y, (int)layersurface->layerSurface->current.actual_width, (int)layersurface->layerSurface->current.actual_height}; - layersurface->geometry = geomFixed; // because the surface can overflow... for some reason? } void Events::listener_commitLayerSurface(void* owner, void* data) { |