Ottatop
4dbf1a313b
Fix compiler errors
2023-12-19 12:05:36 -06:00
Ottatop
59c33075cd
Use a Blocker
implementation
2023-12-19 12:05:36 -06:00
Vladislav Nepogodin
96930eb7e5
apply rustfmt
2023-12-19 15:09:36 +04:00
Vladislav Nepogodin
3fb0a744a2
update dependencies and adjust for smithay changes
2023-12-19 15:08:52 +04:00
Ottatop
e0f7e85b83
Clean up stuff and add more docs
2023-12-16 21:20:29 -06:00
Ottatop
3427fe5d7c
Do other misc stuff
...
These are some horrible commit messages
2023-12-14 22:00:04 -06:00
Ottatop
93f601ca5c
Fix prev commit not removing xwayland windows properly
2023-12-14 16:43:04 -06:00
Ottatop
b2ebda85f0
Simplify render elements
...
FIXME: evidently I no longer remove windows correctly from the main window vec because layouting takes into account a nonexistent window
2023-12-14 16:38:07 -06:00
Ottatop
76ef7580c2
Tidy up stuff
2023-12-14 15:23:37 -06:00
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
Ottatop
bd0c88ba0a
Clean up comments
2023-09-20 02:19:04 -05:00
Ottatop
3183bae6a5
Add and rename stuff
2023-09-15 02:50:42 -05:00
Ottatop
cd689fd7a6
Depend on tracing git
2023-09-14 01:34:20 -05:00
Ottatop
3ebb0cd133
Constrain popups on the y axis
2023-09-13 23:11:07 -05:00
Ottatop
f8b269d7c8
Constrain nested popups on the x axis
2023-09-13 02:41:56 -05:00
Ottatop
c3e6509a21
Constrain popups on the x axis
...
Currently doesn't work on the y axis or on sub-popups
2023-09-12 23:31:38 -05:00
Ottatop
5f2a660061
Update keyboard focus on tag change
2023-09-12 09:38:34 -05:00
Ottatop
7bf411a426
Add more logging
2023-09-12 09:29:21 -05:00
Ottatop
98796dde69
Remove unused import
2023-09-11 04:02:36 -05:00
Ottatop
4b66c6bd62
Give each Pinnacle instance its own socket
2023-09-11 03:58:43 -05:00
Ottatop
50716a9168
Use $XDG_RUNTIME_DIR
for socket
2023-09-11 03:22:51 -05:00
Ottatop
4f00a3c414
Change max log count
2023-09-11 03:05:45 -05:00
Ottatop
7fb3d798b9
Add file logging
2023-09-11 02:48:33 -05:00
Ottatop
b2b23a88c9
Use BaseDirectories for config dir
2023-09-10 23:40:22 -05:00
Ottatop
dd5992ed98
Remove itertools
2023-09-10 22:53:24 -05:00
Ottatop
1c1898f0b1
Add mousebinds to API
2023-09-10 21:54:58 -05:00
Ottatop
7f5d9e431c
Reverse scroll direction on winit
2023-09-10 05:02:29 -05:00
Ottatop
aaf2921363
Add env setting to API
2023-09-10 04:49:31 -05:00
Ottatop
f8fcfcd8ce
Update focus on xwayland window destroy
2023-09-10 02:04:36 -05:00
Ottatop
f811771fbe
Add tags to override-redirect windows
2023-09-09 23:43:29 -05:00
Ottatop
0f42e403ae
Make focus tag-specific
2023-09-09 22:47:59 -05:00
Ottatop
465e66067d
Update keybind handling and API docs
2023-09-09 20:41:21 -05:00
Ottatop
89fc2919f3
Simplify input API
2023-09-09 19:27:05 -05:00
Ottatop
8fd0469b82
Apply rendering fixes to udev
2023-09-09 16:58:07 -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
a18b9856bb
Simplify layout cycling, fix wins not updating on maximize
2023-09-09 04:01:55 -05:00
Ottatop
5844665cb2
Fix windows on multiple tags not rendering
2023-09-08 22:43:55 -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
03b1a4e3c1
Clean up stuff
2023-09-08 22:13:42 -05:00
Ottatop
b452b2f634
Render layer surfaces properly
2023-09-08 22:13:42 -05:00
Ottatop
ce7afef4d8
Ignore non-rendered windows for input
2023-09-08 22:13:42 -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
01ce9cf0aa
Bump dependencies
2023-09-08 20:46:01 -05:00
Ottatop
4d1085a720
Fix clap attributes
2023-09-08 20:20:00 -05:00