Skip to content

fix: skip window effects for ignored and fullscreen windows#1282

Open
johnsideserf wants to merge 1 commit intoglzr-io:mainfrom
johnsideserf:fix/skip-effects-ignored-fullscreen
Open

fix: skip window effects for ignored and fullscreen windows#1282
johnsideserf wants to merge 1 commit intoglzr-io:mainfrom
johnsideserf:fix/skip-effects-ignored-fullscreen

Conversation

@johnsideserf
Copy link

Summary

  • Skips applying window effects (border, transparency, corner style, title bar) for windows in state.ignored_windows and windows in WindowState::Fullscreen
  • Prevents focus borders from appearing on top of fullscreen games and other ignored windows (e.g. borderless windowed mode)

Changes

Only packages/wm/src/commands/general/platform_sync.rs is modified:

  1. Added state: &WmState parameter to apply_window_effects()
  2. Added early return at the top of apply_window_effects() when the window is ignored or fullscreen
  3. Updated both call sites to pass state

Test plan

  • Normal tiled window has focus border as expected
  • Ignored window (via ignore command or window rule) does NOT get border/effects
  • Fullscreen window does NOT get border/effects
  • Toggling back from fullscreen to tiling restores border

Fixes #778

🤖 Generated with Claude Code

Windows marked as `ignore` (e.g. games in borderless windowed mode) and
windows in fullscreen state should not have border, transparency, or
other effects applied to them. This prevents focus borders from
appearing on top of fullscreen games and other ignored windows.

Fixes glzr-io#778

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-project-automation github-project-automation bot moved this to 📬 Needs triage in glazewm Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📬 Needs triage

Development

Successfully merging this pull request may close these issues.

[Feature Request] Disable/Conditional window effects (border color) for full screen windows

1 participant