From 0e405aad6bc9f631b9b7a766fb1147fef943f492 Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 17 Aug 2026 18:58:06 +0200 Subject: 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 --- docs/adr/0004-windowed-gui-and-compositor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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: console (app 0) never closes. - **Placement** — new windows cascade (+24px each, wrapping) and are focused and raised on creation; the console is full-canvas at (0,0). - Windows are fixed-position and fixed-size in v1: move is the first - post-v1 feature and resize is deferred. + Windows are movable by dragging the title bar (clamped to the canvas); + resize is deferred. ## Consequences -- cgit v1.2.3