Skip to content

Withdrawn - #219

Closed
jonghooneun wants to merge 1 commit into
CodeZeno:mainfrom
jonghooneun:fix/skip-redundant-host-reposition
Closed

jonghooneun wants to merge 1 commit into
CodeZeno:mainfrom
jonghooneun:fix/skip-redundant-host-reposition

Conversation

@jonghooneun

@jonghooneun jonghooneun commented Nov 12, 2026 •

Copy link
Copy Markdown

Opened by mistake; withdrawn.

Every routine render re-embedded the taskbar surface: it rewrote the
window styles and called SetWindowPos with SWP_FRAMECHANGED even though
the surface already was a child of that taskbar. A frame change counts
as a window placement change, and Windows answers each one by posting a
WM_MOUSEMOVE with unchanged coordinates to whichever window is under the
pointer. Applications that hide the pointer while typing therefore
showed it again on every widget render: once per poll, or every second
with a theme that uses a seconds-resolution clock.

embed_as_child now returns early when the surface already has this
parent and the hosted styles, and taskbar positioning only calls
SetWindowPos when the surface is not already the top sibling at the
target rectangle. Parent changes, popup-to-child conversion and real
moves are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@jonghooneun jonghooneun changed the title fix(window): stop re-embedding the hosted taskbar surface on every render Withdrawn Nov 12, 2026
@jonghooneun
jonghooneun deleted the fix/skip-redundant-host-reposition branch November 12, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant