Commit graph

1019 commits

Author SHA1 Message Date
Ottatop
4b9ee3c4f5 Disable tracing for default Rust config
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 Rust Docs / Build docs (push) Has been cancelled
This is a massive issue of skill
2024-07-28 13:13:43 -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
53ea4ebace
Merge pull request #264 from pinnacle-comp/api_backend
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
Prepare API internals for v0.1
2024-07-14 18:58:50 -05:00
Ottatop
d30d9b9c90 api/rust: Update docs 2024-07-14 18:53:17 -05:00
Ottatop
db3bfd9e5f api/rust: Add error handling 2024-07-14 15:45:02 -05:00
Ottatop
57dab51536 api/lua: Add error handling 2024-07-12 18:33:46 -05:00
Ottatop
81716cc8df api/lua: Use API values, make client not a fn 2024-07-12 14:56:26 -05:00
Ottatop
c1936c8a87 api/lua: Make client connection explicit 2024-07-11 15:50:33 -05:00
Ottatop
ade04b3833 api/lua: Add auto-generated protobuf definitions 2024-07-10 20:00:05 -05:00
Ottatop
b57c8e0dac api/rust: Transition to statics for clients 2024-07-05 18:54:42 -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
0b24e88874
Merge pull request #261 from pinnacle-comp/better_window_states
Improve window state handling
2024-06-27 18:49:07 -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
8d0da8ccfc Fix keyboard focus tests
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
Build Rust Docs / Build docs (push) Has been cancelled
Wait a bit for each window to spawn fully
2024-06-23 20:37:39 -05:00
Ottatop
eb333cb4c6 test no lookies 2024-06-23 20:17:37 -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
b655a17547
Merge pull request #258 from pinnacle-comp/xcursor
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
Build Rust Docs / Build docs (push) Has been cancelled
Cursor enhancements
2024-06-21 18:38:37 -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
Ottatop
85fb1be6ea Impl cursor scaling 2024-06-21 13:11:55 -05:00
Ottatop
00cf02158a Impl proper xcursor support 2024-06-20 21:02:25 -05:00
Ottatop
71e4c1f159 Improve keyboard focus changing
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
Fixes #248, fixes #250
2024-06-19 19:23:50 -05:00
Ottatop
0a6984f713 Reverse layer rendering
Multiple overlay layer surfaces were being drawn backwards, so this fixes that
2024-06-19 16:28:40 -05:00
Ottatop
05b8196319 Simplify snapshots at call-site 2024-06-19 14:04:56 -05:00
Ottatop
fe182fdfcb winit: Schedule render after transaction finish
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 #255
2024-06-18 17:45:34 -05:00
Ottatop
39fd958fae Offset default pointer by hotspot
Fixes #252. Currently a temporary fix until I implement cursor shape
2024-06-18 17:29:50 -05:00
Ottatop
fc4dd9d62e Take snapshot on foreign toplevel tag change 2024-06-18 14:32:06 -05:00