Commit graph

91 commits

Author SHA1 Message Date
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
c0906974a4 Update Smithay
I hate breaking changes
2024-06-18 12:20:43 -05:00
Ottatop
6be6c6d5f6 Add keybind overlay 2024-06-15 16:58:47 -05:00
Ottatop
df96838c51 Wait for Snowcap to start, rust-api: Fix signals
Test with --no-default-features, add Snowcap submodule
2024-06-14 14:47:05 -05:00
Ottatop
8fd1606557 Add preliminary snowcap integration 2024-06-13 17:21:32 -05:00
Ottatop
f16767240e Use indexmap for output storage
I need me some determinism for testing
2024-06-04 18:11:40 -05:00
Ottatop
ad81b553c8 lua-api: Add custom modelines 2024-06-04 10:48:34 -05:00
Ottatop
34517fd111 Add custom modes
Custom modes from wlr-randr should work now. Still need to do custom mode*lines*. And add those API calls
2024-06-02 21:28:44 -05:00
Ottatop
e6b18fcec2 Make layout transactions work 2024-05-27 15:47:56 -05:00
Ottatop
66e5d7097f Bump smithay
gtklock fix
2024-05-17 10:25:06 -05:00
Ottatop
cd8e15a7c3 Update deps 2024-05-16 17:35:36 -05:00
Ottatop
1faab2a68f Update Smithay 2024-05-15 13:35:03 -05:00
Ottatop
5d3f66a747 Add info subcommand 2024-05-07 22:30:48 -05:00
Ottatop
37b728203c Use reexported rustix instead of nix 2024-05-07 20:28:48 -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
4b3839e380 Fix pointer clamping regression and also update Smithay 2024-04-27 21:26:54 -05:00
Ottatop
c9012cf483 Improve logging
Use better env filters, log panics, and make logging to files not use color escapes
2024-04-26 14:56:12 -05:00
Leon Vack
bdcac3b016 Cleanup up dependencies 2024-04-26 10:27:11 +02:00
Leon Vack
0b353c45f2 Use an embedded config for tests 2024-04-25 10:48:37 +02:00
Leon Vack
fb8b6e166c Clean up some stuff and move the config for wlcs tests 2024-04-25 10:48:37 +02:00
Leon Vack
e8b8a33bfc Make wlcs run some actual tests 2024-04-25 10:48:36 +02:00
Leon Vack
7adcb1d729 Make wlcs start 2024-04-25 10:47:48 +02:00
Leon Vack
bb832ae885 Add wlcs stub 2024-04-25 10:47:44 +02:00
Ottatop
ef47a9f8c5 Remove xtasks 2024-04-24 18:50:31 -05:00
Ottatop
f54516bbe3 Embed default rust config
Need to clean up how the Rust API handles shutdown signals
2024-04-21 23:45:03 -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
591c5c1cd0 Update Smithay and don't map resized windows if tiled 2024-04-20 12:54:09 -05:00
Ottatop
43809d4210 Remove statics from Rust API
And a bunch of other things, this commit doesn't build
2024-04-16 11:10:47 -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
1ba636f39f Bump dependencies 2024-04-12 07:24:37 -05:00
Ottatop
24ac349922 Implement wlr-gamma-control
Buncha stuff yoinked from Niri
2024-04-10 01:55:45 -05:00
Ottatop
bf4e270bfc Bump dependencies 2024-04-06 16:14:45 -05:00
Ottatop
145ab55dc9 Bump dependencies 2024-03-30 17:23:47 -05:00
Ottatop
6d83e34868 Setup Lua API integration tests 2024-03-06 18:50:45 -06:00
Ottatop
a83d8275fa Bump dependencies 2024-03-04 19:22:02 -06:00
Ottatop
f9ca886ed9 Change minor things 2024-03-04 14:44:33 -06:00
Ottatop
63c0ef1e85 Start on a better CLI 2024-03-02 01:23:31 -06:00
Ottatop
16fff3f7e3 Update Smithay 2024-02-29 16:28:25 -06:00
Ottatop
2e0a8b940a ong I don't remember 2024-02-23 16:24:43 -06:00
Ottatop
e52af7a841 Change default stdout log level to INFO, file level to DEBUG 2024-02-19 00:17:26 -06:00
Ottatop
9b5eac55d1 Fixup Cargo workspace 2024-02-17 23:50:36 -06:00
Ottatop
cea9d9048a Add some config unit tests 2024-02-17 00:00:25 -06:00
Ottatop
f20c3cd847 Update dependencies 2024-02-07 19:38:15 -06:00
Ottatop
dae790f54c Update Smithay, add MPL licenses to API libs 2024-01-22 21:04:08 -06:00
Ottatop
0b88ad298b Completely rip out the old msgpack stuff
Did this break anything? ¯\_(ツ)_/¯
2024-01-21 23:42:48 -06:00
Ottatop
2eea7bf71b Add a bunch more functions 2024-01-18 23:11:25 -06:00
Ottatop
2bf8e25e21 Add a bunch of functions 2024-01-17 21:55:34 -06:00
Ottatop
7fe56ed949 Gracefully shutdown after ctrl-c 2024-01-14 13:34:00 -06:00