fix(overlay): correct Hyprland fullscreen overlay alignment on Linux (#107)

This commit is contained in:
2026-06-01 02:12:16 -07:00
committed by GitHub
parent f1e260e996
commit 76f99e6518
15 changed files with 501 additions and 23 deletions
+6 -1
View File
@@ -56,7 +56,12 @@ export function updateOverlayWindowBounds(
} = {},
): void {
if (!geometry || !window || window.isDestroyed()) return;
const bounds = normalizeOverlayWindowBoundsForPlatform(geometry, process.platform, screen);
const bounds = normalizeOverlayWindowBoundsForPlatform(
geometry,
process.platform,
screen,
window,
);
window.setBounds(bounds);
ensureHyprlandWindowFloatingByTitle({
title: window.getTitle(),