1
0
Fork 0
forked from wry/wry
Commit graph

1733 commits

Author SHA1 Message Date
Julian Orth
669d995771 all: address clippy lints 2025-11-28 13:33:07 +01:00
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
mahkoh
9289823e67
Merge pull request #668 from mahkoh/jorth/float-scale
cli: add `scale --round-to-float`
2025-11-28 12:47:57 +01:00
Julian Orth
a253fac31f cli: add scale --round-to-float 2025-11-28 12:43:40 +01:00
mahkoh
e81b31b452
Merge pull request #667 from kotarac/master
toml-spec: compliant $id in schema
2025-11-27 13:38:36 +01:00
Stipe Kotarac
e0786c2e94 toml-spec: compliant $id in schema 2025-11-27 13:04:43 +01:00
mahkoh
a2e21cb926
Merge pull request #651 from mahkoh/jorth/shm-pool-len
wl_shm: save the actually requested pool size
2025-10-23 18:07:39 +02:00
Julian Orth
e297997c6c wl_shm: save the actually requested pool size 2025-10-23 18:05:09 +02:00
mahkoh
909f158082
Merge pull request #649 from mahkoh/jorth/simple-im-no-newline
simple-im: don't emit newline in pre-edit
2025-10-17 01:17:04 +02:00
Julian Orth
c0e70a1d6d simple-im: don't emit newline in pre-edit 2025-10-17 01:14:41 +02:00
mahkoh
43171a14b3
Merge pull request #648 from mahkoh/jorth/compositor-side-repeat
seat: implement key repeat
2025-10-16 21:23:35 +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
mahkoh
e22e6680b6
Merge pull request #638 from sday-ssc/master
Remove titlebar separator if title_height is 0.
2025-10-16 18:49:31 +02:00
Sean Day
daafb98336 config: allow disabling window titles 2025-10-16 18:47:08 +02:00
mahkoh
796269d31e
Merge pull request #647 from mahkoh/jorth/simple-im-backspace-disable
simple-im: allow disabling unicode input with backspace
2025-10-16 16:58:07 +02:00
Julian Orth
b77fd6d0b2 simple-im: allow disabling unicode input with backspace 2025-10-16 16:54:46 +02:00
mahkoh
cb25c2b44a
Merge pull request #645 from mahkoh/jorth/sdr-ref-luminance
cmm: ignore backend luminance with the default EOTF
2025-10-16 16:48:39 +02:00
Julian Orth
4746361cb7 cmm: ignore backend luminance with the default EOTF 2025-10-16 16:45:53 +02:00
mahkoh
091918d10a
Merge pull request #646 from mahkoh/jorth/simple-im
Add a simple, XCompose based input method
2025-10-16 16:45:37 +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
mahkoh
26988f5ce5
Merge pull request #643 from mahkoh/jorth/yaml-cleanup
toml: format spec.yaml file
2025-10-14 11:33:38 +02:00
Julian Orth
a7808d89c2 toml: format spec.yaml file 2025-10-14 11:30:43 +02:00
mahkoh
fbd37e6662
Merge pull request #640 from mahkoh/jorth/update-deps-2
cargo: update dependencies
2025-10-09 19:53:27 +02:00
Julian Orth
78d86c1224 cargo: update dependencies 2025-10-09 19:51:18 +02:00
mahkoh
63e239032a
Merge pull request #639 from mahkoh/jorth/kbvm-update-2
kbvm: update to 0.1.5
2025-10-09 19:39:55 +02:00
Julian Orth
45b9925a91 kbvm: update to 0.1.5 2025-10-09 19:37:24 +02:00
mahkoh
26e34d3f85
Merge pull request #634 from mahkoh/jorth/llvmpipe-fra
opengl: disable fast ram access for bugged llvmpipe versions
2025-10-08 18:20:19 +02:00
Julian Orth
794732c44a opengl: disable fast ram access for bugged llvmpipe versions 2025-10-08 18:17:44 +02:00
mahkoh
02b7a6dc3f
Merge pull request #632 from mahkoh/jorth/simplify-compile-shaders
build.rs: simplify compile-shaders handling
2025-10-07 16:47:58 +02:00
Julian Orth
0564cd848d build.rs: simplify compile-shaders handling 2025-10-07 16:44:28 +02:00
mahkoh
f17800517e
Merge pull request #631 from mahkoh/jorth/show-workspace-on
config: add Seat::show_workspace_on
2025-10-07 06:17:54 +02:00
Julian Orth
d320d2f3c1 config: add Seat::show_workspace_on 2025-10-07 05:08:57 +02:00
mahkoh
d2ce140f54
Merge pull request #629 from mahkoh/jorth/vendor-shaderc-sys
build.rs: don't build compile-shaders if shaders are unchanged
2025-10-04 22:37:07 +02:00
Julian Orth
ee84b309ba build.rs: don't build compile-shaders if shaders are unchanged 2025-10-04 22:32:59 +02:00
Julian Orth
d1910063d8 compile-shaders: vendor shaderc-sys 2025-10-04 22:25:35 +02:00
mahkoh
44ac0511c3
Merge pull request #627 from mahkoh/jorth/fast-path-log
wl_shm: log when using zero-copy path
2025-10-03 13:18:46 +02:00
Julian Orth
37cff567a1 wl_shm: log when using zero-copy path 2025-10-03 13:12:15 +02:00
mahkoh
987bc5ee25
Merge pull request #626 from mahkoh/jorth/log-udmabuf
udmabuf: log device status
2025-10-02 20:20:22 +02:00
Julian Orth
a918381eba udmabuf: log device status 2025-10-02 19:55:48 +02:00
mahkoh
f3d6bff08d
Merge pull request #625 from mahkoh/jorth/fast-ram-access
wl_shm: use udmabuf directly as texture on integrated GPUs
2025-10-02 17:22:09 +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
mahkoh
1883b42d21
Merge pull request #585 from disluckyguy/auto-reload-toml
toml: automatically reload configuration
2025-10-02 00:40:25 +02:00