1
0
Fork 0
forked from wry/wry
Commit graph

265 commits

Author SHA1 Message Date
Julian Orth
86a765718d gfx: identify wl_buffer by address during ctx change 2026-02-10 20:28:48 +01:00
Julian Orth
b53f40e85f gfx: handle context change when buffer is attached to multiple surfaces 2026-02-10 19:02:14 +01:00
khyperia
dd3f8bad40 config: add fallback output mode 2026-01-17 13:16:14 +01:00
khyperia
a975e3b25a seat: rename get_output to get_cursor_output 2026-01-17 12:14:16 +01:00
Julian Orth
6e45fb85f9 config: move move_to_output logic to separate function 2026-01-17 11:33:18 +01:00
Stipe Kotarac
a1dfc473a2 rect: safer construction 2026-01-09 09:41:46 +01:00
Julian Orth
bf8dcd1408 tree: allow moving focus between containers on different outputs 2025-12-02 12:15:43 +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
Sean Day
daafb98336 config: allow disabling window titles 2025-10-16 18:47:08 +02:00
Julian Orth
d320d2f3c1 config: add Seat::show_workspace_on 2025-10-07 05:08:57 +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
e680a3dc09 config: allow configuring client capabilities 2025-09-18 21:17:34 +02:00
Julian Orth
01f9c094ee theme: add separate bar_height setting 2025-09-17 18:37:28 +02:00
Julian Orth
f5e04355d7 kbvm: use indicators to determine the active LEDs 2025-09-07 15:34:44 +02:00
Julian Orth
11c10fde70 metal: enable keyboard LEDs 2025-09-07 12:41:31 +02:00
Julian Orth
83e79b68e6 color-management: use more consistent naming 2025-09-05 19:55:09 +02:00
Julian Orth
73bf4465e2 it: add fifo test 2025-09-03 17:50:04 +02:00
Julian Orth
31a045e01b cursor: ensure software cursors are drawn if some outputs don't have HC 2025-07-27 16:11:39 +02:00
Julian Orth
e12ececca4 render: make damage visualizer slightly less inefficient 2025-07-27 15:03:55 +02:00
Stipe Kotarac
e570152dde config: workspace display order 2025-07-26 19:12:00 +02:00
Julian Orth
9944ac65cf xdg-shell: batch xdg_surface.configure events 2025-07-22 22:48:19 +02:00
Julian Orth
9c165ab56c config: allow disabling the primary selection 2025-07-20 11:18:32 +02:00
Julian Orth
e85accf805 workspace: use State::show_workspace2 to make workspaces visible 2025-07-19 15:55:16 +02:00
Julian Orth
4bfa9fb7fc tree: add Node::node_make_visible 2025-07-19 11:44:57 +02:00
Julian Orth
90b945b780 wait-for-sync-obj: clear tasks on shutdown 2025-07-19 00:38:48 +02:00
Julian Orth
0f2d63ef44 cpu-worker: clear tasks on shutdown 2025-07-19 00:34:44 +02:00
Julian Orth
80f1310e3a xwayland: clear windows on shutdown 2025-07-19 00:13:15 +02:00
Julian Orth
f7e48e6037 seat: clear cursor user groups at shutdown 2025-07-18 23:51:53 +02:00
Julian Orth
b3b48608d1 fifo: clear 40hz latch listener at shutdown 2025-07-18 23:49:26 +02:00
Julian Orth
08e7e01d0e config: allow disabling the built-in bar 2025-07-18 10:10:05 +02:00
Mostafa Ibrahim
c6060a7389 implement wlr_output_management_unstable_v1 2025-07-17 08:57:24 +02:00
Julian Orth
18f9742d2c head-management: send mode separately from pos/size changes 2025-07-16 15:31:18 +02:00
Julian Orth
6647b93e1e head-management: add drm-color-space-info-v1 extension 2025-07-16 10:13:01 +02:00
Julian Orth
1195613fc6 head-management: add format-info-v1 extension 2025-07-16 10:13:01 +02:00
Julian Orth
4482c3168b head-management: add tearing-state-v1 extension 2025-07-16 10:13:01 +02:00
Julian Orth
aaef75f9f3 head-management: add vrr-state-v1 extension 2025-07-16 10:13:01 +02:00
Julian Orth
b76aade265 head-management: add non-desktop-info-v1 extension 2025-07-16 10:13:01 +02:00
Julian Orth
e24ea33734 head-management: add connector-info-v1 extension 2025-07-16 10:10:59 +02:00
Julian Orth
67acc6d938 head-management: add compositor-space-info-v1 extension 2025-07-16 10:10:59 +02:00
Julian Orth
8356dd5d5c head-management: add infrastructure 2025-07-16 10:10:59 +02:00
Julian Orth
3c1475041f output-transactions: unify state application after transactions 2025-07-16 10:10:59 +02:00
Julian Orth
7ab99bb840 backend: implement output transactions 2025-07-12 08:15:22 +02:00
Julian Orth
286857971a all: use let chains 2025-07-01 11:20:48 +02:00
Julian Orth
4d9dde7927 pointer-constraints: always apply position hints asynchronously 2025-07-01 09:25:29 +02:00
Julian Orth
bae92d90d0 state: add node_at helper 2025-07-01 09:13:42 +02:00
Mostafa Ibrahim
0930f00356
implement zwlr_foreign_toplevel_management protocol (#452)
* implement zwlr_foreign_toplevel_management protocol

* check if initial id is empty
2025-05-28 13:53:29 +02:00
Julian Orth
68713b2e39 vulkan: create high-priority queues if possible 2025-05-10 22:44:00 +02:00
Julian Orth
5e3465d861 config: add initial-tile-state window rule 2025-05-07 22:41:43 +02:00
Julian Orth
b1ca98b488 config: add auto-focus window rule 2025-05-07 22:41:43 +02:00