diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-17 18:58:06 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-17 18:58:06 +0200 |
| commit | 0e405aad6bc9f631b9b7a766fb1147fef943f492 (patch) | |
| tree | d9c10ed2e3fae589aabff3375d53bbf66139add2 /docs/adr | |
| parent | Windowed GUI: wm module, input routing, and the paint app (diff) | |
| download | rs-dos-0e405aad6bc9f631b9b7a766fb1147fef943f492.tar.gz rs-dos-0e405aad6bc9f631b9b7a766fb1147fef943f492.zip | |
wm: title-bar drag-to-move; stop delivering title-bar gestures to apps
- Track the active mouse gesture (none / window-move / app-stroke) so a
press on the title bar becomes a move drag instead of leaking Move
events into the app's content
- Add move_window (clamped to the canvas, repaint old + new regions)
- Always deliver MouseKind::Release so a stroke that ends outside the
window still terminates
Diffstat (limited to 'docs/adr')
| -rw-r--r-- | docs/adr/0004-windowed-gui-and-compositor.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/adr/0004-windowed-gui-and-compositor.md b/docs/adr/0004-windowed-gui-and-compositor.md index 86e8b30..3476fab 100644 --- a/docs/adr/0004-windowed-gui-and-compositor.md +++ b/docs/adr/0004-windowed-gui-and-compositor.md | |||
| @@ -62,8 +62,8 @@ Introduce an overlapping-window GUI: | |||
| 62 | console (app 0) never closes. | 62 | console (app 0) never closes. |
| 63 | - **Placement** — new windows cascade (+24px each, wrapping) and are | 63 | - **Placement** — new windows cascade (+24px each, wrapping) and are |
| 64 | focused and raised on creation; the console is full-canvas at (0,0). | 64 | focused and raised on creation; the console is full-canvas at (0,0). |
| 65 | Windows are fixed-position and fixed-size in v1: move is the first | 65 | Windows are movable by dragging the title bar (clamped to the canvas); |
| 66 | post-v1 feature and resize is deferred. | 66 | resize is deferred. |
| 67 | 67 | ||
| 68 | ## Consequences | 68 | ## Consequences |
| 69 | 69 | ||
