Repository navigation
Preserve Windows 3.0 window placement for WDESK recovery - #14
Merged
Merged
Conversation
Preserve saved normal rectangles and minimized/maximized state through existing USER interfaces; leave USER.EXE untouched. Include strict actual-source checks and native qualification notes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WDESK needs to bring windows home without losing their saved normal rectangles or changing minimized/maximized state. This adds a small caller-owned placement service that reads and verifies the real Windows 3.0 saved position through existing USER interfaces. USER.EXE and the bank/audio source are unchanged.
Validation: 393 strict actual-source host checks; 417.62-second PCjr 320x200 helper/UI/recovery run and 37.34-second CGA 640x200 visible-maximized recovery run, both ending normally in DOS. The tested C/header bytes are retained exactly. The record is 20 bytes natively; there is no second tracker, heap, timer or hook. Independent source review found no outstanding runtime issues. Host mocks and emulator results do not establish physical hardware behavior.
The companion oemdisplay-tandy PR198 integrates this service with the selectable window-moving backend and retains existing hardware/software panning.