Ottatop
bfc63445d1
Fix clippy warnings
2024-12-17 20:27:09 -06:00
Ottatop
4b1c4f53e1
Comment out test
...
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
it no worky sometimes on github CI
2024-08-15 12:50:27 -05:00
Ottatop
51589cf484
Improve tag handling on config reload
...
Fixes #251
2024-07-02 16:05:22 -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
...
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
8bc0f40f18
Add output power on/off
...
Note that this does *not* remove the output from the space; it merely turns it off
2024-05-30 19:17:21 -05:00
Ottatop
dbccfa9c76
Expose keyboard focus stack to API
2024-05-15 21:24:20 -05:00
Ottatop
55a0379697
Finalize pointer constraints
...
While this initial implementation is done and I'm pretty happy with it, there are still 2 problems:
1. The cursor is not warped to the hinted position when a locked pointer constraint is removed. This may require an update to Smithay to expose a `PointerConstraintsHandler::constraint_removed` method.
2. The cursor may jump between two close constraint regions if it's moved fast enough. This can be fixed by possibly doing a ray cast or something.
2024-05-01 19:18:31 -05:00
Ottatop
b99cc8ffce
Move impls to Pinnacle
2024-04-26 19:58:02 -05:00
Ottatop
8aaec59452
Split off backend and rest of State
...
Currently doesn't clean up anything, still need to change `impl State`s to `impl Pinnacle`s
2024-04-26 18:43:18 -05:00
Leon Vack
13df2d161b
Fix lua tests hanging
2024-04-25 11:07:32 +02:00
Ottatop
7e80a6a64f
Update test infrastructure
...
Extracts the dummy output name into a const. Unfortunately I still need a way to interpolate that into Lua strings. Also fixes possible hangs when Lua crashes
2024-04-24 21:37:17 -05:00
Ottatop
6da1967b3d
Scaffold xtasks
...
NOT DONE, don't use it yet
2024-04-21 14:25:35 -05:00
Ottatop
2aca29fe7c
Revert "Use mlua for Lua tests"
...
This reverts commit 78eb41ef51
.
Can't get the github runner not to block when running tests, fun
2024-04-20 21:35:40 -05:00
Ottatop
78eb41ef51
Use mlua for Lua tests
2024-04-20 19:17:43 -05:00
Ottatop
a8f393deb3
Improve Lua output setup API
...
I really like this compared to the previous iteration
2024-04-17 21:22:54 -05:00
Ottatop
6c8b643577
Add OutputHandle::set_transform
2024-04-16 21:30:59 -05:00
Ottatop
f6ad192c86
Finish Lua setup and setup_locs
2024-04-16 19:25:59 -05:00
Ottatop
f557afcaa1
Start on Rust API tests
...
Does not currently work because every api struct is a static, yikes
2024-04-16 07:04:34 -05:00
Ottatop
ce8b56eee8
Add Output::setup
...
Still needs polishing and more importantly testing, also the Lua impl isn't finished yet
2024-04-15 15:50:09 -05:00
Ottatop
6d78436d18
Add TagHandle::windows
2024-04-12 07:57:22 -05:00
Ottatop
220be6d505
Move tests into separate mods
2024-04-11 12:35:48 -05:00
Ottatop
8d3bbf28f8
Add Pinnacle.run
and use for tests
2024-03-23 01:39:07 -05:00
Ottatop
13ea0a683b
Change TagId
back to struct
2024-03-12 19:18:27 -05:00
Ottatop
140b0200aa
Add some tests
...
First ever squash no clue what I'm doing
2024-03-11 19:39:41 -05:00
Ottatop
6d83e34868
Setup Lua API integration tests
2024-03-06 18:50:45 -06:00