|
@@ -548,8 +548,9 @@ it to `0x7E00`. The kernel region itself only has one wall (`_end` below
|
|
|
canvases into the shadow. A normal
|
|
canvases into the shadow. A normal
|
|
|
window has no visible frame: its `WM_TITLE_H` title bar starts at the
|
|
window has no visible frame: its `WM_TITLE_H` title bar starts at the
|
|
|
window origin and a resize band (`WM_RESIZE_IN` 1 px inside,
|
|
window origin and a resize band (`WM_RESIZE_IN` 1 px inside,
|
|
|
- `WM_RESIZE_OUT` 3 px outside every outer edge) is the edge/corner resize
|
|
|
|
|
- grab area. The focused title bar uses
|
|
|
|
|
|
|
+ `WM_RESIZE_OUT` 4 px outside every outer edge) is the edge/corner resize
|
|
|
|
|
+ grab area; corner squares reach `WM_CORNER_IN` (12 px) along both edges.
|
|
|
|
|
+ The focused title bar uses
|
|
|
the toolkit highlight `ngui_theme_dark.selection`. The boot
|
|
the toolkit highlight `ngui_theme_dark.selection`. The boot
|
|
|
console stays visible until the WM attaches (`wm_server_attach` disables
|
|
console stays visible until the WM attaches (`wm_server_attach` disables
|
|
|
it), so a missing `/ramfs/bin/wm` leaves the kernel boot log on screen and
|
|
it), so a missing `/ramfs/bin/wm` leaves the kernel boot log on screen and
|
|
@@ -576,8 +577,9 @@ it to `0x7E00`. The kernel region itself only has one wall (`_end` below
|
|
|
dragging, screen edges and the facing edges of windows that overlap on the
|
|
dragging, screen edges and the facing edges of windows that overlap on the
|
|
|
other axis resist the window: it stays flush until the pointer overshoots
|
|
other axis resist the window: it stays flush until the pointer overshoots
|
|
|
by `WM_RESIST` (24 px) (`resist_geom()` in `ucmd_wm.c`). A press in the
|
|
by `WM_RESIST` (24 px) (`resist_geom()` in `ucmd_wm.c`). A press in the
|
|
|
- resize band (1 px inside, 3 px outside) along any edge or corner starts a
|
|
|
|
|
- resize: the grabbed edges follow the pointer while the opposite edges stay
|
|
|
|
|
|
|
+ resize band (1 px inside, 4 px outside, with 12 px corner squares) along
|
|
|
|
|
+ any edge or corner starts a resize: the grabbed edges follow the pointer
|
|
|
|
|
+ while the opposite edges stay
|
|
|
put, clamped to the work area. The topmost window's band wins over a
|
|
put, clamped to the work area. The topmost window's band wins over a
|
|
|
window behind it. While dragged or resized the WM owns the pointer
|
|
window behind it. While dragged or resized the WM owns the pointer
|
|
|
(`SYS_WM_MOUSE_CAPTURE`), so canvas clients see no held button and cannot
|
|
(`SYS_WM_MOUSE_CAPTURE`), so canvas clients see no held button and cannot
|