Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/manager/event_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ function applyEffectTo(actor: RoundedWindowActor) {
handlers.onSizeChanged(actor);
});

// Get notified about fullscreen explicitly, since a window must not change in
// size to go fullscreen
connect(actor.metaWindow, 'notify::fullscreen', () => handlers.onSizeChanged(actor));

// Window focus changed.
connect(actor.metaWindow, 'notify::appears-focused', () =>
handlers.onFocusChanged(actor),
Expand Down
2 changes: 1 addition & 1 deletion src/manager/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export function shouldEnableEffect(
const cfg = getRoundedCornersCfg(win);
return (
!(maximized || fullscreen) ||
(maximized && cfg.keepRoundedCorners.maximized) ||
(maximized && !fullscreen && cfg.keepRoundedCorners.maximized) ||
(fullscreen && cfg.keepRoundedCorners.fullscreen)
);
}
Expand Down
Loading