Commit graph

411 commits

Author SHA1 Message Date
Ottatop
0acffbf79d Extract tagging new windows 2023-12-14 14:42:55 -06:00
Ottatop
79221d3c06 Extract libinput stuff 2023-12-13 20:33:16 -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
4569c21a5f Move stuff to window/rules.rs 2023-12-09 21:11:29 -06:00
Ottatop
8b0d7f1427 Make output API functions non-nil 2023-10-18 20:31:37 -05:00
Ottatop
474da43280 Make tag API functions non-nil 2023-10-18 20:16:26 -05:00
Ottatop
17ca00f6be Make window API functions non-nil
This does not apply to functions that return an array; you'll have to do a for loop or check for nil on index in that case.
2023-10-18 20:08:55 -05: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
97616ef0c1 Remove a render schedule 2023-10-17 22:59:07 -05:00
Ottatop
a475c0c4ac Schedule render in some more places 2023-10-17 22:57:28 -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
93e139e746 Send pointer frame on pointer events 2023-10-12 19:15:47 -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
8eeca5cc76 Revert nonexistent env interpolation ignoring whole env 2023-09-30 04:55:13 -05:00
Ottatop
0e5a4f0621 Save output state on disconnect 2023-09-29 04:38:32 -05:00
Ottatop
b7f096dd66 Update keyboard leds 2023-09-28 19:10:36 -05:00
Ottatop
d26b9b968c Add libinput to API 2023-09-28 18:46:08 -05:00
Ottatop
2a13e736e4 Add xkbconfig to API 2023-09-28 10:17:28 -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
307813b062 Fix config reloading 2023-09-21 19:48:52 -05:00
Ottatop
cce7ca8314 Fallback to default config on metaconfig parse fail 2023-09-21 18:07:56 -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
019e606584 Add some docs, make socket_dir update on reload 2023-09-20 17:55:21 -05:00
Ottatop
a2a46596f4 Move config stuff into one struct 2023-09-20 17:40:36 -05:00
Ottatop
c06cb5b776 Remove WalkDir 2023-09-20 17:20:48 -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
5c88ceac83 Move pointer_grab_start_data into grab 2023-09-20 15:30:40 -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
ce96d1d636 Simplify refcell usage 2023-09-20 15:13:03 -05:00
Ottatop
ade1a0609b Run cargo fmt with new let-else capability 2023-09-20 03:36:50 -05:00