Commit graph

89 commits

Author SHA1 Message Date
Ottatop
52d05b66b7 Send frames on layout
very hacky no good.
2024-04-13 14:17:49 -05:00
Ottatop
39bf58b41c Keep track of a pending window swap
Prevents windows from getting swapped a bunch of times in one motion causing them not to actually swap
2024-03-21 20:55:02 -05:00
Ottatop
5fd8c60f21 Fix minor bugs and do minor cleanup 2024-03-21 16:40:08 -05:00
Ottatop
2880792d9f Schedule render on layout application 2024-03-19 23:40:06 -05:00
Ottatop
17d0760e43 Add deep copy to copy Lua layouts
This is probably not going to be in the final iteration; I think I might convert all Lua layouts to classes instead of having users deep copy them to change settings
2024-03-16 16:40:47 -05:00
Ottatop
79291d1cd9 Add rust layout docs, adhere to nonexclusive zone 2024-03-15 22:09:27 -05:00
Ottatop
ab2b3ee13b Add fair layout 2024-03-15 14:02:28 -05:00
Ottatop
e1f2706428 Add layout cycling, dwindle, remove old layout stuff 2024-03-14 19:21:51 -05:00
Ottatop
b3ba9f9393 Add new master stack layout
Currently only this layout for the Lua client works, and there's no cycling layouts yet
2024-03-14 17:31:32 -05:00
Ottatop
8bbb36f512 Rename and move stuff around 2024-03-04 20:38:20 -06:00
Ottatop
c96b01f733 Clean up stuff 2024-03-04 19:16:10 -06:00
Ottatop
48cd3d0df9 Remove space_elements!
so uh when you impl SpaceElement you gotta actually remember to impl the geometry fn, which is why Alacritty was 44 pixels off in the other attempt at this
2024-02-29 20:10:23 -06:00
Ottatop
16fff3f7e3 Update Smithay 2024-02-29 16:28:25 -06:00
Ottatop
14a36b9738 Rework focus and add Window.set_focused
This has to be one of the most unreviewable commits I think I've created yet
2024-02-24 14:41:52 -06:00
Ottatop
08436f3e12 Get rid of blockers
omg I hate these things, they're so dang finicky and I'm not big brain enough to make them not finicky
2024-02-05 21:30:00 -06:00
Ottatop
d8b2544eca Impl wlr_data_control 2024-01-24 14:54:30 -06:00
Ottatop
7841ea3422 Add libinput to new API
I forgor 💀
2024-01-14 23:38:05 -06:00
Ottatop
f9e81d4c1d Use space_elements to remove boilerplate
Unsure if this helped or not because I had to add `_ => unreachable!()` everywhere I matched on `WindowElement`
2023-12-23 22:17:35 -06:00
Ottatop
e8702f9c0c Remove unused import 2023-12-21 18:50:28 -06:00
Ottatop
ef4b1d3d51 Update workflow action
Evidently I was using a version from 2020 for some reason
2023-12-20 19:54:34 -06:00
Ottatop
24034e7051 Make blocker work on udev
Also apparently stylua updated or something cuz I formatted the example_config and it's different now. Also need to fix the slight flickering when closing windows
2023-12-20 19:48:49 -06:00
Ottatop
b1a97e81ed Fix clippy stuff 2023-12-19 15:32:33 -06:00
Ottatop
59c33075cd Use a Blocker implementation 2023-12-19 12:05:36 -06:00
Ottatop
e0f7e85b83 Clean up stuff and add more docs 2023-12-16 21:20:29 -06:00
Ottatop
d7b783877f Merge override redirect windows into main window vec
I previously stuck all X11 override redirect windows in their own stack which is really lazy. Still need to make it so child OR windows will render above their parents, even when fullscreen.
2023-12-13 20:07:19 -06:00
Ottatop
ade1a0609b Run cargo fmt with new let-else capability 2023-09-20 03:36:50 -05:00
Ottatop
3183bae6a5 Add and rename stuff 2023-09-15 02:50:42 -05:00
Ottatop
7bf411a426 Add more logging 2023-09-12 09:29:21 -05:00
Ottatop
dd5992ed98 Remove itertools 2023-09-10 22:53:24 -05:00
Ottatop
aaf2921363 Add env setting to API 2023-09-10 04:49:31 -05:00
Ottatop
0f42e403ae Make focus tag-specific 2023-09-09 22:47:59 -05:00
Ottatop
3b65ba5c1d Send frame callbacks when not rendering 2023-09-09 16:28:58 -05:00
Ottatop
866f9eec5d Fix window render order 2023-09-09 04:34:17 -05:00
Ottatop
bbc2b4574f Clean up stuff again 2023-09-08 22:27:00 -05:00
Ottatop
29c48bdfcd Clean up stuff 2023-09-08 22:26:43 -05:00
Ottatop
430fb76fc8 Re-add stuff I removed 2023-09-08 22:16:17 -05:00
Ottatop
8f2ce70586 Fix black screen on discord on wayland 2023-09-08 22:16:15 -05:00
Ottatop
861bd68839 Fix reversed order of window rendering 2023-09-08 22:15:20 -05:00
Ottatop
7b98b93d6e Stop rendering instead of unmapping windows (regression)
Layer shell surfaces currently don't render anymore. I may need to manually render them instead of getting them through Space::space_render_elements.
2023-09-08 22:13:16 -05:00
Ottatop
bef6d92176 Prepare for cherry-pick 2023-09-08 22:08:56 -05:00
Ottatop
7dabc4d22c Remove obsolete function 2023-09-08 21:04:09 -05:00
Ottatop
73c473e2d6 Pause rendering until windows are idle 2023-09-08 19:56:40 -05:00
Ottatop
8a75769ca3 Map window if pending state isn't different 2023-09-04 02:12:42 -05:00
Ottatop
5740295817 Revert "Stop rendering instead of unmapping windows (regression)"
This reverts commit 15e03b6c17.
2023-09-04 02:00:12 -05:00
Ottatop
92e2886d45 Re-add stuff I removed 2023-09-04 01:54:10 -05:00
Ottatop
44d87d4725 Fix black screen on discord on wayland 2023-09-02 21:45:03 -05:00
Ottatop
87a8f29298 Fix reversed order of window rendering 2023-09-02 20:26:11 -05:00
Ottatop
15e03b6c17 Stop rendering instead of unmapping windows (regression)
Layer shell surfaces currently don't render anymore. I may need to manually render them instead of getting them through Space::space_render_elements.
2023-09-02 02:46:26 -05:00
Ottatop
afed3bd91f Remove generics from state 2023-08-28 22:53:24 -05:00
Ottatop
12fc8ad2fc Fix floating windows not reappearing 2023-08-21 17:56:18 -05:00