Windows: on a handset, apps open maximized and dialogs float above
- Apps open maximized on a touchscreen whose short side is under 720px. Restore gives a floating window that fits the screen. - Maximized windows can't be dragged or resized. - Dialogs (xdg_toplevel.set_parent) open floating and centered, and stay above their app when it is activated. - Under tiling, the last used app is drawn on top. - Add transient_for to WmState and make inner_work_area and fit_rect public for the compositor. - Tests cover maximized opening, dialog stacking, drag suppression and restore. - Document the handset window behavior in docs/handset.md.
This commit is contained in:
1 parent
7029c92e6e
commit
5c83cdaa22
5 files changed
+148
-10
No files matched your search
@@ -12,6 +12,10 @@ Chandra includes KMS/libinput/compositor adaptations tailored for mainline Linux
|
||||
- **Icon desktop default:** Portrait handset layouts prioritize the touch-friendly icon desktop launcher aesthetic.
|
||||
- **Compact panel layout:** Panel items (`launcher`, `dock`, `session-settings`, `network`, `battery`, `clock-digital`, `screenshot`, `rotate`, `osk`) size compactly so all controls fit cleanly within `540px` portrait width without clipping, with fuel-gauge support (e.g. `bq27411-0`).
|
||||
|
||||
## Windows
|
||||
|
||||
- **Apps open maximized** on a handset (a touchscreen whose short side is under `720` logical pixels). Restore gives a floating window that fits the screen. Dialogs open floating, centered, and stay above their app. A maximized window can't be dragged out of place.
|
||||
|
||||
## Touch Input & On-Screen Keyboard
|
||||
|
||||
- **Touch goes to apps as touch (`wl_touch`):** a finger on an app's own content is the app's: it scrolls with a thumb, flings, pinches and long-presses as that app does ([`compositor/host/touch.mbt`](../compositor/host/touch.mbt)). The seat only says it has a touchscreen when libinput finds one. If the app answers a touch with a window move, resize or drag and drop, its touch is cancelled and the finger drags from there.
|
||||
|
||||
Reference in new issue
Block a user