Place the title window on a selected monitor #148
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!148
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-148"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TaynanGT on GitHub · 2026-11-27 04:16 UTC · original
TaynanGT:review/gecko-monitor-125→main· +175 −8 · 2 files · 1 commits · merged 2026-11-27 04:21 UTCCarries Geckomacabre’s monitor selector from #125 with the follow-up review fixes. The selector uses one monitor for the windowed and fullscreen rectangles. Child, owned, tool and zero-sized windows keep their original placement. The chosen monitor’s default windowed rectangle respects
VICTORY_WINDOW_MAX.All 17 lifecycle tests and targeted Clippy passed. The tests cover a secondary monitor with a negative origin, capped default sizing, and fullscreen restore.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 04:16 UTC · original · edited 2026-11-27 04:19 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
bb4f3e7bb4f3e7ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 04:18 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
bb4f3e760bℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@ -168,2 +166,2 @@let screen = unsafe { (wm::GetSystemMetrics(wm::SM_CXSCREEN), wm::GetSystemMetrics(wm::SM_CYSCREEN)) };let Some(full) = full_screen(ex_style, style, !parent.is_null(), screen) else {if !placeable(ex_style, style, !parent.is_null()) || width == 0 || height == 0 {return ((ex_style, style, (x, y, width, height)), None);@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 04:18 UTC · original
For an overlapped window created with
width = CW_USEDEFAULT, Win32 ignores the height argument, soheight = 0is a valid request for a normal default-sized window, not necessarily a zero-sized helper. This new guard returns before resolving that default, bypassingVICTORY_MONITORplacement andVICTORY_FULLSCREEN=1; returning noWindowStatealso disables F11/Alt+Enter toggling for that window. The existingrestores_default_window_geometry_on_a_monitor_with_negative_coordinatestest already covers this default-width/zero-height combination. Exempt default-width requests from the zero-height exclusion while continuing to preserve genuinely zero-sized helpers.Useful? React with 👍 / 👎.