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

This commit is contained in:
sudacode authored and GitHub committed 2026-06-01 02:12:16 -07:00
1 parent f1e260e996
commit 76f99e6518
15 files changed
+501 -23

No files matched your search

+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(),