1
0
Fork 0
forked from wry/wry
Commit graph

1231 commits

Author SHA1 Message Date
mahkoh
0e49b33a7f
Merge pull request #664 from ArthurHeymans/DirectionMoveWorkspace
feat(toml-config): Add directional output selection for move-to-output action
2025-11-28 13:23:33 +01:00
Arthur Heymans
5529306c67 feat(config): Add directional output selection via separate direction field
Add support for directional output selection in the move-to-output action
using a separate `direction` field instead of overloading OutputMatch.

API additions:
- Add Workspace::connector() to get the connector showing a workspace
- Add Connector::connector_in_direction() to find outputs directionally

Implementation:
- Move directional finding logic from toml-config to compositor
- Algorithm uses center-to-center distance with axis-aligned preference
- Add GetWorkspaceConnector and GetConnectorInDirection IPC messages

Configuration changes:
- Add optional `direction` field to move-to-output action
- Either `output` or `direction` must be specified (not both)
- Valid directions: "left", "right", "up", "down"

Example usage:
  logo+control+shift+right = { type = "move-to-output", direction = "right" }

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
2025-11-28 13:14:25 +01:00
Julian Orth
a253fac31f cli: add scale --round-to-float 2025-11-28 12:43:40 +01:00
Julian Orth
e297997c6c wl_shm: save the actually requested pool size 2025-10-23 18:05:09 +02:00
Julian Orth
c0e70a1d6d simple-im: don't emit newline in pre-edit 2025-10-17 01:14:41 +02:00
Julian Orth
4b4f05d153 seat: implement key repeat 2025-10-16 21:18:26 +02:00
Julian Orth
0e1be7544f backend: add ButtonState 2025-10-16 19:50:21 +02:00
Sean Day
daafb98336 config: allow disabling window titles 2025-10-16 18:47:08 +02:00
Julian Orth
b77fd6d0b2 simple-im: allow disabling unicode input with backspace 2025-10-16 16:54:46 +02:00
Julian Orth
4746361cb7 cmm: ignore backend luminance with the default EOTF 2025-10-16 16:45:53 +02:00
Julian Orth
481e9b3854 simple-im: add support for unicode input 2025-10-16 16:38:06 +02:00
Julian Orth
9ac4fea594 cli: allow configuring the simple IM 2025-10-16 16:38:06 +02:00
Julian Orth
2f22a61710 config: allow configuring the simple IM 2025-10-16 16:38:04 +02:00
Julian Orth
58b9830aaa seat: add a simple input method 2025-10-16 15:57:47 +02:00
Julian Orth
8372f83737 text-input: reset text-input state after disconnect 2025-10-16 01:53:56 +02:00
Julian Orth
881fb24878 text-input: add input method abstraction 2025-10-16 00:16:32 +02:00
Julian Orth
78d86c1224 cargo: update dependencies 2025-10-09 19:51:18 +02:00
Julian Orth
794732c44a opengl: disable fast ram access for bugged llvmpipe versions 2025-10-08 18:17:44 +02:00
Julian Orth
d320d2f3c1 config: add Seat::show_workspace_on 2025-10-07 05:08:57 +02:00
Julian Orth
37cff567a1 wl_shm: log when using zero-copy path 2025-10-03 13:12:15 +02:00
Julian Orth
a918381eba udmabuf: log device status 2025-10-02 19:55:48 +02:00
Julian Orth
9abfe88b05 wl_shm: use udmabuf directly as texture on integrated GPUs 2025-10-02 17:18:09 +02:00
Julian Orth
da33f26918 wl-buffer: remove unnecessary Result wrapper 2025-10-02 14:55:08 +02:00
Julian Orth
86680e0cc8 dmabuf: optimize sync-file export/import 2025-10-01 23:37:04 +02:00
Julian Orth
0884a5c656 dmabuf: cache is_disjoint property 2025-10-01 23:33:44 +02:00
Julian Orth
410281b13e linux-dmabuf: intercept udmabuf buffers 2025-10-01 22:58:53 +02:00
Julian Orth
0570669af2 wl-shm: add support for more formats 2025-10-01 22:58:51 +02:00
Julian Orth
09a56edd47 vulkan: enforce that dmabuf buffers are aligned to 4 bytes 2025-10-01 20:31:13 +02:00
Julian Orth
3e52e4266f vulkan: perform a queue transfer for external dmabuf buffers 2025-10-01 20:31:13 +02:00
Julian Orth
0fb318f5f7 vulkan: include dedicated allocate info for buffer import 2025-10-01 20:31:13 +02:00
Julian Orth
c008b7ea35 text: use udmabuf for text upload 2025-10-01 14:05:33 +02:00
Julian Orth
a3d3a62af3 vulkan: import wl_shm buffers as udmabuf 2025-09-30 19:07:43 +02:00
Julian Orth
47e15c6083 vulkan: pre-heat allocations 2025-09-30 18:43:44 +02:00
Julian Orth
300738db1f subsurface: fix damage application when position changes 2025-09-21 01:38:08 +02:00
Julian Orth
60574d3a0d wire: regenerate most files 2025-09-20 18:49:44 +02:00
Julian Orth
0a20f03a81 all: address clippy lints 2025-09-19 12:39:37 +02:00
Julian Orth
e680a3dc09 config: allow configuring client capabilities 2025-09-18 21:17:34 +02:00
Julian Orth
035e2972de theme: add title-font and bar-font settings 2025-09-17 18:37:28 +02:00
Julian Orth
01f9c094ee theme: add separate bar_height setting 2025-09-17 18:37:28 +02:00
Julian Orth
750e71c4b0 theme: set min sizes to 0 2025-09-17 16:38:01 +02:00
Julian Orth
51575fce39 vulkan: include precompiled shaders 2025-09-17 14:23:38 +02:00
Julian Orth
31a73b49a3 seat: allow pointer warping if only the client matches 2025-09-17 13:05:18 +02:00
Julian Orth
0a5ee8fa36 vulkan: implement software rendering 2025-09-16 19:16:32 +02:00
Julian Orth
278619c09e clone3: don't use clone3 syscall directly 2025-09-16 06:58:14 +02:00
Julian Orth
c2d5848329 metal: improve buffer allocation logging 2025-09-13 14:13:22 +02:00
Julian Orth
3a11e1bd19 metal: improve logging 2025-09-13 12:58:54 +02:00
Julian Orth
e5de85299b metal: handle cursor plane allocation failures gracefully 2025-09-13 12:58:52 +02:00
Julian Orth
c691a7b429 metal: add missing break 2025-09-13 12:45:03 +02:00
Julian Orth
ef1727a186 color-management: parametrize bt1886 2025-09-09 13:45:48 +02:00
Julian Orth
c37567f1cd color-management: implement set_tf_power 2025-09-09 13:45:48 +02:00