Commit Graph

19 Commits

Author SHA1 Message Date
Isaac Freund
ea88cca35f
Take future borders into account for surface size 2020-04-04 23:26:15 +02:00
Isaac Freund
8d68d1e7cf
Fix iteration in handleFrame 2020-04-04 16:51:14 +02:00
Isaac Freund
6cb9f6ac04
Add a data structure to manage the view stack 2020-04-04 16:51:02 +02:00
Isaac Freund
57f27f7cc6
Implement tag assignment
There are a few bugs with this, but the core logic is sound
2020-04-02 13:44:24 +02:00
Isaac Freund
42d454b26f
Implement infrastructure for tags 2020-04-01 17:50:49 +02:00
Isaac Freund
d0bfa7bb01
Make c import a little cleaner 2020-03-29 19:36:15 +02:00
Isaac Freund
f5304237b5
Pass self as immutable where possible 2020-03-29 15:58:04 +02:00
Isaac Freund
d787e2c2cc
Initial atomic layout update implementation 2020-03-26 21:32:30 +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
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
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
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
0584fde126
WIP massive refactor 2020-03-22 22:42:55 +01:00