A living-world project

Messing About in Space (With Consequences)

WORLDS IN THE MAKING

← Project journal

Stage 0bInput and window handling

Who owns a window drag?

Dragging Survey Valley by its title bar exposed a gap in the input checks. Windows and the game could both hold the mouse on the same window.

Read the entry: Who owns a window drag?

The game used to release the mouse whenever its window moved. That ended a Windows drag on the first movement. A hidden game window reproduced the loss on both move and resize. The repaired valley host now releases capture only for a game gesture, and all seven tour buttons passed again.

Following other input through the packaged code showed that Page Up arrived as an exclamation mark. The audit also found an empty paste path, a second source of focus cancellation in the room study, and a camera request whose answer never reached the UI.

The shared adapter now translates the keys, supplies paste text and lets the native window confirm which camera press it captured. In the furnished room, a held key survived loss of renderer focus and cleared on loss of window focus. A desktop check dragged the title bar and all four borders, raised the toolbox with the first F12 after switching windows, then cancelled a camera drag and paused the game with the very next click.