Commit Graph

803 Commits

Author SHA1 Message Date
3cb52c4898 Parially refactor commands to take a *Seat 2020-04-13 19:25:37 +02:00
b822084f39 Allow storing *View in ViewStack
This is done in preparation for implementing focus stacks.
2020-04-13 17:25:39 +02:00
0f52f664f2 Introduce InputManager for eventual multi-seat 2020-04-12 22:19:48 +02:00
d92c7a5a71 Add run command to readme 2020-04-12 14:14:20 +02:00
121febc15d Add building instructions to readme 2020-04-12 14:12:48 +02:00
f254217d2c Eliminate some code duplication 2020-04-12 13:54:03 +02:00
57a811583c Move protocol scanning to build.zig 2020-04-12 13:37:18 +02:00
236c0102e1 Remove unneeded pixman linking 2020-04-11 23:10:56 +02:00
28e22d57ce Arrange layers on layer surface destroy 2020-04-11 21:49:05 +02:00
59b9172393 Handle layer shell protocol error
Requesting a size of 0 without setting opposing anchors in that dimension is
a protocol error.
2020-04-11 21:40:06 +02:00
03691722b2 Handle exclusive zones of layer surfaces 2020-04-11 20:34:51 +02:00
ff833a07d3 Move output specific code out of root
This is in preperation of proper output event handling and eventual
multi output support.
2020-04-11 14:24:20 +02:00
ad8e13df41 Add roadmap to readme and tweak style 2020-04-10 23:18:34 +02:00
e77506a003 Move rendering out of output to a new namespace 2020-04-10 22:50:46 +02:00
1ffd13ef86 Implement xdg-output 2020-04-10 17:23:25 +02:00
bd91bacee9 Implement initial layer shell support
exclusive zones and popups are still TODO
2020-04-10 16:49:52 +02:00
86c486bf2d Import layer shell protocol 2020-04-09 13:18:52 +02:00
bf17b54048 Go back to using std.ChildProcess
The bug with this was fixed by https://github.com/ziglang/zig/pull/4970.
2020-04-09 12:54:38 +02:00
6c23f3eefd Properly specify pixman include 2020-04-09 00:05:28 +02:00
0038a56a62 Implement outer padding 2020-04-08 23:40:15 +02:00
5ce2bef513 Remove stray default values 2020-04-08 23:22:14 +02:00
3332e0ab2b Fix environment of spawned processes
std.ChildProcess isn't handling environment variables set at runtime properly,
so just use libc directly.
2020-04-08 21:31:07 +02:00
b2fbdf2d87 Add keybind to close views 2020-04-08 17:43:00 +02:00
dd480ca567 Add view all tags and tag with all tags keybinds 2020-04-08 12:52:36 +02:00
57b371d567 Add binding to toggle tag of focused view 2020-04-08 12:44:41 +02:00
180c2a8faa Add binding to toggle focused tags 2020-04-08 00:40:41 +02:00
fa65333789 Refactor keybindings to be runtime defined. 2020-04-07 21:48:56 +02:00
15f97314a9 Move commands to a separate file 2020-04-07 19:16:38 +02:00
626b2c691b Rename gaps -> padding 2020-04-07 11:54:46 +02:00
5c320c0b8c Allow switching VTs 2020-04-06 22:23:30 +02:00
aef2245272 Implement inner gaps 2020-04-05 18:31:55 +02:00
259e554921 Fix overdraw of top/bottom borders 2020-04-05 16:36:33 +02:00
bcb143fe13 Highlight border of focused view 2020-04-05 16:32:43 +02:00
89d2a86851 Draw borders around views 2020-04-05 14:26:22 +02:00
5be50921d4 Avoid a crash caused by a race conditon 2020-04-04 23:35:07 +02:00
ea88cca35f Take future borders into account for surface size 2020-04-04 23:26:15 +02:00
149dd488a9 Reset focus on switching between tags 2020-04-04 19:48:22 +02:00
b30b9ba57e Stop the transaction timer if timeout didn't occur 2020-04-04 16:51:15 +02:00
f17792183b Add a bit of logging for transactions 2020-04-04 16:51:14 +02:00
8d68d1e7cf Fix iteration in handleFrame 2020-04-04 16:51:14 +02:00
424a16fe94 Remove len field from ViewStack
This is misleading as unmapped views should be ignored
2020-04-04 16:51:14 +02:00
6c8e7c14f7 Test ignoring unmapped view 2020-04-04 16:51:14 +02:00
5f7333e851 Add empty iteration tests 2020-04-04 16:51:14 +02:00
6cb9f6ac04 Add a data structure to manage the view stack 2020-04-04 16:51:02 +02:00
9ba295f126 Focus next view if focused view is hidden 2020-04-02 14:02:30 +02:00
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
26a5aaca69 Implement switching between single tags 2020-04-01 19:39:36 +02:00
42d454b26f Implement infrastructure for tags 2020-04-01 17:50:49 +02:00
5020106b93 Explictly define log level ordering
This was technically undefined before.
2020-03-29 21:17:57 +02:00
5e84d69237 Add a log utility 2020-03-29 21:05:34 +02:00