Commit graph

71 commits

Author SHA1 Message Date
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
4569c21a5f Move stuff to window/rules.rs 2023-12-09 21:11:29 -06:00
Ottatop
e7ebc40fc7 Run disconnect and reconnect on connectors when switching tty back 2023-10-17 23:34:14 -05:00
Ottatop
ec0e892bf3 Clear overlay planes on tty switch 2023-10-17 23:20:35 -05:00
Ottatop
06a96849e7 Move a render schedule
As you can see I don't pay attention to the compiler yelling at me
2023-10-17 23:00:19 -05:00
Ottatop
27692997ed Schedule render on tag change, update window stack on udev 2023-10-17 22:29:59 -05:00
Ottatop
7572523cfc Fix winit rendering 2023-10-15 03:13:21 -05:00
Ottatop
7fbacbd52f Remove old mod 2023-10-15 02:35:03 -05:00
Ottatop
26ce7309de Add render scheduling 2023-10-15 02:27:41 -05:00
Ottatop
698d13bfda Change renders to take outputs 2023-10-12 22:26:58 -05:00
Ottatop
ebe745d091 Add doc comments 2023-10-12 22:14:56 -05:00
Ottatop
3f05b2b608 Add udev fn 2023-10-12 22:08:45 -05:00
Ottatop
cd31059ef8 Update dependencies 2023-10-12 17:10:23 -05:00
Ottatop
e8401e3b57 Add docs, clean up stuff 2023-10-02 19:37:14 -05:00
Ottatop
3fe11a4b75 Remove delay on render schedule
Also refresh time calculations that may or may not do something useful
2023-10-02 18:58:59 -05:00
Ottatop
8e8f3efa97 Change unwraps to expects 2023-10-02 15:39:10 -05:00
Ottatop
da69b5130a Use high precision event loop 2023-10-02 15:19:13 -05:00
Ottatop
b5892d195d Remove no vulkan flag 2023-10-02 15:03:28 -05:00
Ottatop
37537d1b3b Remove SurfaceComposition
This was behind an env in Anvil that I'm pretty sure not many people will use.
2023-10-02 14:50:56 -05:00
Ottatop
acd846f5bc Move Backend definition 2023-10-02 14:06:39 -05:00
Ottatop
0e5a4f0621 Save output state on disconnect 2023-09-29 04:38:32 -05:00
Ottatop
d26b9b968c Add libinput to API 2023-09-28 18:46:08 -05:00
Ottatop
7dddfff7ff Add minor tweaks 2023-09-27 03:29:30 -05:00
Ottatop
fb8c08663d Apply flicker mitigations to udev 2023-09-25 04:18:01 -05:00
Ottatop
16787092a7 Crop windows, also pause rendering on a pending size
This is a series of attempts at preventing flickering. We wrap every window render element in a CropRenderElement so that windows don't render at the incorrect size for a frame. Additionally, we also pause rendering also when the window has a pending size different from the current. Fun fact: Firefox (and by extension Librewolf) renders content to child subsurfaces, so the root surface doesn't get most commits.
2023-09-25 03:15:13 -05:00
Ottatop
799517bfb5 Load default config on config crash 2023-09-21 17:12:16 -05:00
Ottatop
9a415f6f07 Separate override redirect windows from main vec 2023-09-20 18:31:10 -05:00
Ottatop
a2a46596f4 Move config stuff into one struct 2023-09-20 17:40:36 -05:00
Ottatop
4cffb28e25 Move take_presentation_feedback 2023-09-20 16:54:39 -05:00
Ottatop
c83f136cf7 Move config handling out of state.rs 2023-09-20 16:43:50 -05:00
Ottatop
ea913e898c Move api stuff into single mod 2023-09-20 15:27:51 -05:00
Ottatop
a0a6efe45a Move tag render elements 2023-09-20 15:18:26 -05: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
8fd0469b82 Apply rendering fixes to udev 2023-09-09 16:58:07 -05:00
Ottatop
866f9eec5d Fix window render order 2023-09-09 04:34:17 -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
01ce9cf0aa Bump dependencies 2023-09-08 20:46:01 -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
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
39d5454a7f Move schedule to impl 2023-08-31 20:35:54 -05:00
Ottatop
afed3bd91f Remove generics from state 2023-08-28 22:53:24 -05:00
Ottatop
992daaea98 Use anyhow 2023-08-16 11:28:35 -05:00
Ottatop
806e739ec2 Dedup render element generation code 2023-08-12 12:37:46 -05:00
Ottatop
d75e0dad22 Rework fullscreen tracking, fix fullscreen on udev 2023-08-12 12:01:55 -05:00
Ottatop
bfe4ca937b Use enum for actions instead of all callback ids 2023-08-08 12:50:43 -05:00
Ottatop
c153eb6abb Dedup and clean up code 2023-08-08 10:55:06 -05:00
Ottatop
7123ecf8ba Add vt switching 2023-08-07 19:48:18 -05:00
Ottatop
f3b0c081dc Continue work 2023-08-07 18:28:41 -05:00