Commit graph

1054 commits

Author SHA1 Message Date
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
Ottatop
c0906974a4 Update Smithay
I hate breaking changes
2024-06-18 12:20:43 -05:00
Ottatop
aada66ce70
Merge pull request #256 from pinnacle-comp/snowcap-lua
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
Preliminary Snowcap integration (Lua)
2024-06-17 18:52:50 -05:00
Ottatop
2c52839d3e Update README 2024-06-17 18:45:36 -05:00
Ottatop
853a2a23f7 Decrease sctk log level 2024-06-17 18:32:47 -05:00
Ottatop
3690db083d Update Snowcap 2024-06-17 18:21:21 -05:00
Ottatop
50a6e4bf78 snowcap/lua: Don't immediately crash if conn fails
Hacky way to get tests to work
2024-06-17 18:08:27 -05:00
Ottatop
9df86c8e14 snowcap: Add Lua API 2024-06-17 16:27:02 -05:00
Ottatop
c1ebfd9eed
Merge pull request #253 from pinnacle-comp/snowcap
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
Build Lua Docs / Build Lua docs (push) Waiting to run
Build Rust Docs / Build docs (push) Waiting to run
Preliminary snowcap integration (Rust)
2024-06-16 19:12:19 -05:00
Ottatop
3df62e00fc CI: Add snowcap-api to docs
Not that they're any good yet
2024-06-16 18:53:55 -05:00
Ottatop
1f0e5e8e57 README: update for Snowcap, kill Pinnacle if Snowcap dies 2024-06-16 18:51:34 -05:00
Ottatop
a67ec57e3c Update Snowcap 2024-06-15 21:34:09 -05:00
Ottatop
350468f970 Fix clippy warnings 2024-06-15 20:46:39 -05:00
Ottatop
23b1e9d62a Add default config with no snowcap 2024-06-15 20:31:30 -05:00
Ottatop
6be6c6d5f6 Add keybind overlay 2024-06-15 16:58:47 -05:00
Ottatop
5b241a626b Add keybind descriptions 2024-06-15 14:06:23 -05:00