mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 08:45:59 +01:00
6
This commit is contained in:
parent
fc1efef2ea
commit
c903430e3f
1 changed files with 3 additions and 3 deletions
|
@ -195,7 +195,7 @@ void Events::listener_commitLayerSurface(void* owner, void* data) {
|
||||||
g_pHyprRenderer->damageBox(&geomFixed);
|
g_pHyprRenderer->damageBox(&geomFixed);
|
||||||
|
|
||||||
// fix if it changed its mon
|
// fix if it changed its mon
|
||||||
/*if ((uint64_t)layersurface->monitorID != PMONITOR->ID) {
|
if ((uint64_t)layersurface->monitorID != PMONITOR->ID) {
|
||||||
const auto POLDMON = g_pCompositor->getMonitorFromID(layersurface->monitorID);
|
const auto POLDMON = g_pCompositor->getMonitorFromID(layersurface->monitorID);
|
||||||
POLDMON->m_aLayerSurfaceLists[layersurface->layer].remove(layersurface);
|
POLDMON->m_aLayerSurfaceLists[layersurface->layer].remove(layersurface);
|
||||||
PMONITOR->m_aLayerSurfaceLists[layersurface->layer].push_back(layersurface);
|
PMONITOR->m_aLayerSurfaceLists[layersurface->layer].push_back(layersurface);
|
||||||
|
@ -213,8 +213,8 @@ void Events::listener_commitLayerSurface(void* owner, void* data) {
|
||||||
layersurface->layer = layersurface->layerSurface->current.layer;
|
layersurface->layer = layersurface->layerSurface->current.layer;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PMONITOR->ID);
|
//g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PMONITOR->ID);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
layersurface->position = Vector2D(layersurface->geometry.x, layersurface->geometry.y);
|
layersurface->position = Vector2D(layersurface->geometry.x, layersurface->geometry.y);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue