Commit graph

590 commits

Author SHA1 Message Date
Ottatop
5cdf9769de Use drm-extras for monitor info
And also remove matching outputs by serial. TODO: add matching by the new serial string
2024-12-17 19:52:28 -06:00
Ottatop
f33c7bbd78 Update pointer constraints handling 2024-12-17 17:00:35 -06:00
Ottatop
7d6c1a25a7 Update smithay
WARNING: anything that uses pointer-constraints will probably crash the compositor on this commit, use the next one
2024-12-16 16:49:46 -06:00
Ottatop
a9d9a38e9d Bump non-smithay dependencies
Some checks failed
CI (Pinnacle) / Build (push) Has been cancelled
CI (Pinnacle) / Run tests (push) Has been cancelled
CI (Pinnacle) / Check formatting (push) Has been cancelled
CI (Pinnacle) / Clippy check (push) Has been cancelled
Build and Publish Lua Docs / Build (push) Has been cancelled
Build Rust Docs / Build docs (push) Has been cancelled
2024-12-16 14:50:42 -06:00
Ottatop
975da0d14e udev: Make match branch reachable
Some checks failed
CI (Pinnacle) / Build (push) Has been cancelled
CI (Pinnacle) / Run tests (push) Has been cancelled
CI (Pinnacle) / Check formatting (push) Has been cancelled
CI (Pinnacle) / Clippy check (push) Has been cancelled
Temporary until I can figure out why it's reachable
2024-08-16 10:48:31 -05:00
Ottatop
7dfb273034 Send frames on no damage 2024-08-15 12:38:34 -05:00
Ottatop
6999ff8dc6 Update led state properly and don't render when inactive
Some checks are pending
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
2024-08-14 19:03:15 -05:00
Ottatop
15000cddf0 udev: Reorder some stuff 2024-08-14 16:22:02 -05:00
Ottatop
a86b49c4ff Clean up winit rendering and cursor logic 2024-08-14 15:45:03 -05:00
Ottatop
2d5bdca672 udev: Clean up and render animated cursors continuously 2024-08-14 12:26:30 -05:00
Ottatop
9b25372048 Fix panic when powering off outputs 2024-08-13 21:14:13 -05:00
Ottatop
d924c44611 Unconditionally send frames to tiled windows
And add docs on `offscreen_elem_id`
2024-08-13 19:21:05 -05:00
Ottatop
2f12e001d6 Choose new primary scanout output if old one doesn't exist 2024-08-13 17:57:30 -05:00
Ottatop
fca6a6c5f5 Update scanout output for cursor surfaces
Also schedule render when they commit
2024-08-12 12:13:50 -05:00
Ottatop
f1bcd8357b Properly throttle rendering 2024-08-10 23:01:10 -05:00
Ottatop
503cc06aa7 Change default keybinds 2024-08-07 11:37:54 -05:00
Ottatop
f5aabd5b60 Improve xwayland stacking logic
Some checks are pending
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
Fixes a few bugs related to the pointer clicking through xwayland windows
2024-08-06 13:38:50 -05:00
Ottatop
63838fb649 Update focus stacks on inter-output window move
Some checks are pending
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
Closes #265
2024-08-05 19:39:13 -05:00
Ottatop
e5670a7fe6 Bump dependencies 2024-08-05 18:37:05 -05:00
Ottatop
519c54fa74 api/lua: Update docs 2024-08-02 15:17:53 -05:00
Ottatop
082ed60498 Update Smithay
Some checks failed
CI (Pinnacle) / Build (push) Has been cancelled
CI (Pinnacle) / Run tests (push) Has been cancelled
CI (Pinnacle) / Check formatting (push) Has been cancelled
CI (Pinnacle) / Clippy check (push) Has been cancelled
Build Lua Docs / Build Lua docs (push) Has been cancelled
Build Rust Docs / Build docs (push) Has been cancelled
2024-07-16 16:15:02 -05:00
Ottatop
bff2e12987 Update dependencies, api/lua: Fix log source 2024-07-16 14:53:52 -05:00
Ottatop
353d345e90 Use assert_matches 2024-07-16 11:44:49 -05:00
Ottatop
57dab51536 api/lua: Add error handling 2024-07-12 18:33:46 -05:00
Ottatop
9517391a52 Layout on layer map arrange
Some checks failed
CI (Pinnacle) / Build (push) Has been cancelled
CI (Pinnacle) / Run tests (push) Has been cancelled
CI (Pinnacle) / Check formatting (push) Has been cancelled
CI (Pinnacle) / Clippy check (push) Has been cancelled
2024-07-03 18:29:50 -05:00
Ottatop
598b7efa74 Invalidate snapshots when swapping windows
Hack to make the snapshot location correct
2024-07-03 17:55:44 -05:00
Ottatop
f3d0653e9a Start layout transaction in set_location
Prevents windows from being in the wrong spot if it's location was set relative to another output and that output's scale changes
2024-07-03 16:32:06 -05:00
Ottatop
e1617845e1 Only send output connect signal when enabling from disabled 2024-07-03 16:18:44 -05:00
Ottatop
d346bd5255 Support signal streams from multiple clients
Some checks are pending
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
Closes #245
2024-07-02 18:57:54 -05:00
Ottatop
234b9d2480 Add window dragging between outputs
Some checks failed
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
Build Lua Docs / Build Lua docs (push) Has been cancelled
2024-07-02 18:10:29 -05:00
Ottatop
b819686fc8 Add missing cfg
gj me
2024-07-02 16:28:04 -05:00
Ottatop
ebba3db6d0 Stop Snowcap on drop
Prevents a hang on panic
2024-07-02 16:24:29 -05:00
Ottatop
51589cf484 Improve tag handling on config reload
Fixes #251
2024-07-02 16:05:22 -05:00
Ottatop
c7907df43c Update Smithay
Some checks are pending
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
2024-07-01 17:01:53 -05:00
Ottatop
88c1a88645 Schedule renders in more places
Some checks failed
CI (Pinnacle) / Build (push) Has been cancelled
CI (Pinnacle) / Run tests (push) Has been cancelled
CI (Pinnacle) / Check formatting (push) Has been cancelled
CI (Pinnacle) / Clippy check (push) Has been cancelled
Build Lua Docs / Build Lua docs (push) Has been cancelled
Build Rust Docs / Build docs (push) Has been cancelled
And fix output calculation for popups when scheduling renders
2024-06-27 19:50:05 -05:00
Ottatop
188cd92c81 Unmap window on removal
Fixes #262
2024-06-27 18:59:33 -05:00
Ottatop
f4f61a9d1f api: Add new window state stuff 2024-06-27 18:42:23 -05:00
Ottatop
621f2779d6 Unify floating_or_tiled and fullscreen_or_maximized
Toggling floating now actually does something on fullscreen and maximized windows
2024-06-26 19:56:35 -05:00
Ottatop
c741c2cfd6 Improve window state handling 2024-06-25 14:58:30 -05:00
Ottatop
7896d88c8c Support pointer gestures
Some checks failed
CI (Pinnacle) / Build (push) Has been cancelled
CI (Pinnacle) / Run tests (push) Has been cancelled
CI (Pinnacle) / Check formatting (push) Has been cancelled
CI (Pinnacle) / Clippy check (push) Has been cancelled
2024-06-24 12:38:30 -05:00
Ottatop
4ecf1c2e71 Apply window rules earlier
Fixes winit applications getting a wl_shm_pool protocol error

Longer explanation: It seems if you immediately change a winit window's decoration mode after it binds xdg-decoration then winit no likey and it requests a shm buffer with 0 width leading to a protocol error. If the decoration window rule is applied earlier this doesn't happen
2024-06-24 12:33:28 -05:00
Ottatop
036380c592 Impl xdg-decoration 2024-06-23 20:03:38 -05:00
Ottatop
e50c24c389 Impl xdg activation
Some checks are pending
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
Currently only does simple logic and focuses the requesting window if it's on an active tag; no urgency yet as there's not really any way to show that
2024-06-22 21:45:03 -05:00
Ottatop
7ae7a423dc Use Instant::elapsed
Some checks are pending
CI (Pinnacle) / Build (push) Waiting to run
CI (Pinnacle) / Run tests (push) Waiting to run
CI (Pinnacle) / Check formatting (push) Waiting to run
CI (Pinnacle) / Clippy check (push) Waiting to run
2024-06-22 17:19:56 -05:00
Ottatop
4e95a28ddb Impl keyboard shortcuts inhibit
And xwayland keyboard grab
2024-06-22 17:08:30 -05:00
Ottatop
36434806a5 Update dependencies 2024-06-22 13:08:25 -05:00
Ottatop
b51d10649f Add API calls for xcursor settings 2024-06-21 18:34:54 -05:00
Ottatop
aa1e79c715 (Re)workaround cursor overwriting transparency in screencopy 2024-06-21 17:43:05 -05:00
Ottatop
98bb5268c8 Disable winit cursor 2024-06-21 15:26:57 -05:00
Ottatop
58c33467dd Change cursor on move and resize grab 2024-06-21 15:03:32 -05:00