1
0
Fork 0
forked from wry/wry
Commit graph

32 commits

Author SHA1 Message Date
Julian Orth
530e66ef78 virtual-output: add support for virtual outputs 2026-03-19 14:45:58 +01:00
Julian Orth
cf36da4077 config: add get_connector_by_name 2026-03-18 20:37:14 +01:00
Julian Orth
1a9753847a backend: support outputs with arbitrary modes 2026-03-18 20:37:12 +01:00
Julian Orth
67760e270e cmm: enable using the display primaries in SDR mode 2025-12-04 17:51:26 +01:00
Julian Orth
c3177c6469 formats: add support for additional formats 2025-11-28 15:03:04 +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
4746361cb7 cmm: ignore backend luminance with the default EOTF 2025-10-16 16:45:53 +02:00
Julian Orth
39c770f6e2 config: make the blend space configurable 2025-09-05 19:56:11 +02:00
Julian Orth
83e79b68e6 color-management: use more consistent naming 2025-09-05 19:55:09 +02:00
Julian Orth
286857971a all: use let chains 2025-07-01 11:20:48 +02:00
khyperia
00735e4621 config: add Seat.get_keyboard_output and Connector.workspaces 2025-04-28 13:12:37 +02:00
Julian Orth
27025a565c video: allow configuring the output brightness 2025-04-21 15:41:52 +02:00
Julian Orth
bb56efb968 metal: allow configuring color space and transfer function 2025-03-11 18:42:47 +01:00
Julian Orth
3338909170 all: set rust edition to 2024 2025-02-21 10:44:29 +01:00
Julian Orth
02ece60909 metal: make post_commit_margin configurable 2024-09-14 13:56:22 +02:00
Julian Orth
b4ca15fec0 metal: allow configuring framebuffer formats 2024-09-04 21:43:04 +02:00
Julian Orth
49f6304716 metal: implement tearing 2024-07-18 15:36:24 +02:00
Julian Orth
2d7c13b0b4 metal: implement VRR 2024-07-18 14:20:01 +02:00
Julian Orth
86e283d255 config: allow mapping input devices to outputs 2024-05-02 21:24:19 +02:00
Julian Orth
e24a61bc62 config: add various new functions 2024-03-16 03:39:50 +01:00
Julian Orth
86e582472d config: accept FnMut instead of Fn for callbacks 2024-03-06 13:44:15 +01:00
Julian Orth
98b6eba81c metal: allow changing the connector mode 2024-03-04 17:23:38 +01:00
Julian Orth
558bea47b7 config: allow retrieving the modes 2024-03-04 16:09:53 +01:00
Julian Orth
b7d2964e19 all: implement output transforms 2024-02-28 20:11:40 +01:00
Julian Orth
7d3b8b6278 render: simplify buffer coordinates 2024-02-28 16:52:52 +01:00
Julian Orth
114c293950 config: allow disabling direct scanout 2024-02-19 12:30:38 +01:00
Julian Orth
615acd4847 config: downgrade bincode to 1.3.3
This should not have any impact on existing configs since bincode claims
compatibility of the wire format between 1.3.3 and 2.0.0.
2024-02-16 14:12:53 +01:00
Julian Orth
cf332e8436 render: implement a vulkan renderer 2024-02-08 15:24:02 +01:00
Julian Orth
049b86f4e2 config: add DrmDevice::make_render_device 2022-11-13 16:53:02 +01:00
Julian Orth
30aa6de35c config: add Connector::set_enabled 2022-07-26 21:52:52 +02:00
Julian Orth
e52a60b3b6 wayland: implement scaling
This involves many subsystems:

- config:
    - allow setting the connector scale
    - allow setting the cursor size
- cursors:
    - load server cursors for all requested sizes and scales
- wl_surface:
    - track the output the surface belongs to
    - send wl_surface.enter/leave
- wl_output:
    - implement wl_output.scale
- text:
    - pre-render texts for all used scales
- renderer:
    - properly align scale textures and rectangles
- wp_fractional_scale:
    - new interface for fractional scaling
2022-05-30 17:00:25 +02:00
Julian Orth
fe80440f38 config: add documentation 2022-05-16 18:21:56 +02:00
Renamed from jay-config/src/drm.rs (Browse further)