Commit graph

606 commits

Author SHA1 Message Date
Ottatop
36261d146b
Merge pull request #106 from pinnacle-comp/api_renaming
Make Lua API more nil-safe
2023-10-18 20:42:06 -05:00
Ottatop
0564342a6a Update example config 2023-10-18 20:35:36 -05: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
ed5447d5b6 Rename API modules and classes internally 2023-10-18 03:44:42 -05:00
Ottatop
5b026b63f1
Merge pull request #105 from pinnacle-comp/overlay_plane
Clear drm overlay planes on tty switch
2023-10-17 23:39:59 -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
5077369732
Merge pull request #103 from pinnacle-comp/even_better_rendering
Improve rendering
2023-10-17 23:05:36 -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
d443d9e8a5
Merge pull request #102 from pinnacle-comp/update_deps
Update dependencies
2023-10-12 17:24:33 -05:00
Ottatop
cd31059ef8 Update dependencies 2023-10-12 17:10:23 -05:00
Ottatop
54155eaf05
Merge pull request #100 from pinnacle-comp/udev_restructure
Clean up udev file
2023-10-02 19:45:30 -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
19601fdafd
Merge pull request #98 from pinnacle-comp/output_hotplug
Save output state on disconnect, restore on reconnect
2023-09-29 04:43:53 -05:00
Ottatop
0e5a4f0621 Save output state on disconnect 2023-09-29 04:38:32 -05:00
Ottatop
4466882f6e Add space 2023-09-28 19:19:28 -05:00
Ottatop
26db8c5679 Update CHANGELOG 2023-09-28 19:18:38 -05:00
Ottatop
a109c704ec
Merge pull request #96 from pinnacle-comp/input
Add input options to API
2023-09-28 19:15:02 -05:00
Ottatop
b7f096dd66 Update keyboard leds 2023-09-28 19:10:36 -05:00
Ottatop
40f90e45d9 Update example config, remove mouse button type 2023-09-28 18:56:54 -05:00
Ottatop
de6bf3ee82 Remove meta tag 2023-09-28 18:46:56 -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
e19601e771
Merge pull request #95 from pinnacle-comp/render
Flickering mitigations
2023-09-27 03:33:33 -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
d1076928f2 Add rev
Build failed, this is why you should add the commit
2023-09-25 03:45: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
9442d721dd Update CHANGELOG 2023-09-21 20:17:37 -05:00
Ottatop
d8dbe8b8d6 Update README 2023-09-21 20:08:02 -05:00
Ottatop
5e49d77ef8
Merge pull request #94 from pinnacle-comp/config_fallback
Load default config when config crashes
2023-09-21 20:05:27 -05:00