mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-21 02:25:21 -04:00
Cleanup
This commit is contained in:
@@ -52,10 +52,7 @@ Item {
|
||||
targetWindow.BackgroundEffect.blurRegion = null;
|
||||
}
|
||||
|
||||
// Force BackgroundEffect to re-publish the blur region on the current wl_surface.
|
||||
// Clearing first bypasses Quickshell's same-Region dedup in BackgroundEffect::setBlurRegion,
|
||||
// setting pendingBlurRegion=true so the next polish actually ships the region — needed
|
||||
// when the underlying surface has been remapped (e.g. PanelWindow.screen change).
|
||||
// Re-publish blur region after wl_surface remaps (e.g. screen change).
|
||||
function kick() {
|
||||
if (!targetWindow)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user