Commit Graph

2494 Commits

Author SHA1 Message Date
Ivan Molodetskikh 1dc698281d winit: Use damage from damage tracker 2023-08-14 12:24:20 +04:00
Ivan Molodetskikh 8f71842e7c Refactor everything again, make more things work 2023-08-13 19:55:37 +04:00
Ivan Molodetskikh 95c810c855 Refactor everything, add initial tiling code 2023-08-13 12:46:53 +04:00
Ivan Molodetskikh e02e35f9c6 winit: Bind EGL renderer 2023-08-13 12:22:07 +04:00
Ivan Molodetskikh 0acd1d04e1 Use Alt as mod with winit backend 2023-08-13 07:45:10 +04:00
Ivan Molodetskikh e8e4853e93 Fix whitespace 2023-08-11 11:38:12 +04:00
Ivan Molodetskikh a8b6f89d5c tty: Downgrade vblank message to trace!() 2023-08-11 10:47:31 +04:00
Ivan Molodetskikh f734cb0129 input: Add Super+F to fullscreen 2023-08-11 10:47:03 +04:00
Ivan Molodetskikh 91a809b755 Add un/fullscreen support 2023-08-11 10:39:17 +04:00
Ivan Molodetskikh f9c7fe4112 Move periodic tasks to event loop closure 2023-08-11 08:28:01 +04:00
Ivan Molodetskikh 3959d1eaa1 Add draft popup implementation
Missing grabs and positioning but gets the job sufficiently done for now.
2023-08-11 08:22:34 +04:00
Ivan Molodetskikh 91c7763aab Add hardcoded us,ru layout and Super+Space switch 2023-08-10 18:14:11 +04:00
Ivan Molodetskikh db3c030fdd Add Super+q to quit the current toplevel 2023-08-10 17:50:53 +04:00
Ivan Molodetskikh b6a4570a43 input: Add bind for spawning alacritty 2023-08-10 17:24:07 +04:00
Ivan Molodetskikh 89349f2f3d input: Only do events on key press 2023-08-10 17:23:38 +04:00
Ivan Molodetskikh 64610d1e24 Unset the minimize capability 2023-08-10 17:17:17 +04:00
Ivan Molodetskikh 9126c60b9b Redraw on surfaces destroyed 2023-08-10 16:47:37 +04:00
Ivan Molodetskikh 51363a3205 Make sure Display is dropped last 2023-08-10 16:38:12 +04:00
Ivan Molodetskikh 5d0353d0c1 input: Update quit message 2023-08-10 16:33:29 +04:00
Ivan Molodetskikh acd63fda73 Add README 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 4daef8abdc input: Change quit bind to Super+Shift+e 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 91729f7324 tty: Prefer, but don't require, a eDP connector 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 100d7d4b47 Keep around the pointer color buffer
Fixes pointer drawing preventing idle.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 0ed5bad452 Add tracy profiling under a feature 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 18b9d0dfcc Replace Timer::immediate() with idle
Currently the former causes a delay due to a calloop issue.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh d9b34bb326 Bump yellow in cursor color
I guess I'm hitting the cursor plane gamma issue now that's recently
been fixed in AMDGPU.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 21c3c5cad0 tty: Use GlesTexture instead of GlesRenderbuffer
According to cmeissi from Smithay, GlesRenderbuffer has issues, so
GlesTexture should be used instead. This fixes GL errors.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 24d954f9fe xdg_shell: Support un/maximize 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 9b073b2350 Redraw on demand rather than continuously 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh ed6132645a winit: Move backend.bind() into render() 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 746840a119 Add cursor drawing with a colored rectangle 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 9a5f891002 input: Fix crash on scrolling 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 1035f3e6cd Pass new pointer location to pointer.motion()
This is correct, it was a bug in smallvil.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh ec1a888386 input: Handle relative pointer motion 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 0047272673 Implement TTY switching
Having to pass backend around turns out to be a problem...
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 7527cad200 tty: Improve reselience to rendering errors 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh c50e22d415 Add comment about crash 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 396ab93585 Restructure things and add tty backend 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh b8e79e9cc8 Add LICENSE
smallvil, the base of this project, is licensed under MIT. catacomb
where I'm copypasting from is licensed under GPLv3.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh d182996c8c Use compact tracing formatting 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh 7c8ea3fd70 Fix warnings 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh a58e879bce Remove unneeded allow 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh c6838b08e2 Add rustfmt.toml and reformat 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh ad3c3f8cef Init from smallvil 2023-08-10 14:49:38 +04:00