mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 05:25:58 +01:00
render ls popups correctly
This commit is contained in:
parent
1d3e1472f2
commit
ee15ad1215
1 changed files with 3 additions and 0 deletions
|
@ -284,6 +284,9 @@ void CHyprRenderer::renderLayer(SLayerSurface* pLayer, CMonitor* pMonitor, times
|
||||||
renderdata.w = pLayer->layerSurface->surface->current.width;
|
renderdata.w = pLayer->layerSurface->surface->current.width;
|
||||||
renderdata.h = pLayer->layerSurface->surface->current.height;
|
renderdata.h = pLayer->layerSurface->surface->current.height;
|
||||||
wlr_surface_for_each_surface(pLayer->layerSurface->surface, renderSurface, &renderdata);
|
wlr_surface_for_each_surface(pLayer->layerSurface->surface, renderSurface, &renderdata);
|
||||||
|
|
||||||
|
renderdata.squishOversized = false; // don't squish popups
|
||||||
|
wlr_layer_surface_v1_for_each_popup_surface(pLayer->layerSurface, renderSurface, &renderdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) {
|
void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) {
|
||||||
|
|
Loading…
Reference in a new issue