Commit Graph

725 Commits

Author SHA1 Message Date
Isaac Freund
ac0c0449dc
Simplify initialization functions 2020-03-25 16:24:21 +01:00
Isaac Freund
34e47360f5
Add Root struct
Server handles listening for wayland signals. It delegates input handling
to Seat and output handling to Root.
2020-03-25 15:59:24 +01:00
Isaac Freund
a3eb33a7b1
Handle destruction of Server properly 2020-03-24 21:18:17 +01:00
Isaac Freund
aaecef8c5c
Make function names camelCase
This conforms with the zig style guidelines:
https://ziglang.org/documentation/master/#Style-Guide
2020-03-24 21:13:56 +01:00
Isaac Freund
46fe1baa96
Use Self = @This() in all structs
This seems to be the idiomatic way to do things.
2020-03-24 20:48:38 +01:00
Isaac Freund
45c7e27935
Clean up cursor handling code 2020-03-24 20:39:02 +01:00
Isaac Freund
b3bad0ca93
Make all things const
The quest for idiomatic zig continues
2020-03-24 20:35:45 +01:00
Isaac Freund
4872a68378
Remove superfluous .*.
I may be be slowly getting the hang of this language.
2020-03-24 20:03:48 +01:00
Isaac Freund
e01a150f6d
Get rid of [*c] pointers 2020-03-24 19:44:56 +01:00
Isaac Freund
a5a84d8164
Rework things to stop invalidating pointers 2020-03-24 02:00:58 +01:00
Isaac Freund
523d629fe0
Get things compiling again 2020-03-23 16:50:20 +01:00
Isaac Freund
50494add40
Refactor xdg_shell handling 2020-03-23 14:04:54 +01:00
Isaac Freund
8260b55a79
Move rendering functions to output.zig 2020-03-23 12:47:30 +01:00
Isaac Freund
774fcf53a8
Refactor output handling 2020-03-23 12:22:48 +01:00
Isaac Freund
f423f5317b
Rework Server 2020-03-23 01:21:15 +01:00
Isaac Freund
0584fde126
WIP massive refactor 2020-03-22 22:42:55 +01:00
Isaac Freund
76ed2a72a8
Use std.ArrayList over wl_list and fix bugs
This is now a working hello world!
2020-03-22 00:52:09 +01:00
Isaac Freund
57ab110f43
Hack around @cImport() not handling flexible arrays 2020-03-21 16:55:42 +01:00
Isaac Freund
e1d1683c3f
Spawn a child 2020-03-21 02:34:59 +01:00
Isaac Freund
5ca93a57ba
Fix build.zig 2020-03-20 22:52:03 +01:00
Isaac Freund
ba6b8350b1
Down to 1 translate c error 2020-03-20 22:44:08 +01:00
Isaac Freund
7b735f690c
cleanup 2020-03-19 21:35:01 +01:00
Isaac Freund
0c6886cae3
Make more progress towards tinywl in zig 2020-03-19 21:30:38 +01:00
Isaac Freund
55506099e9
Add protocol scanning script 2020-03-19 16:35:24 +01:00
Isaac Freund
6646826386
Initial commit 2020-03-19 16:29:22 +01:00