Commit Graph

54 Commits

Author SHA1 Message Date
Isaac Freund
96f2ff793c
Make Output a toplevel struct 2020-05-02 16:40:05 +02:00
Isaac Freund
4c97531860
Make InputManager a toplevel struct 2020-05-02 16:28:17 +02:00
Isaac Freund
a03cab94fc
Make Config a topleve struct 2020-05-02 16:27:00 +02:00
Isaac Freund
fb766fe09c
Make DecorationManager a toplevel struct 2020-05-02 16:23:04 +02:00
Isaac Freund
5dbff2c018
Make Server a toplevel struct 2020-05-02 16:20:32 +02:00
Isaac Freund
460fb6da19
Float child and fixed-size toplevels by default
Closes https://github.com/ifreund/river/issues/14
2020-04-27 16:25:49 +02:00
Isaac Freund
c1b885dd64
Clean up some code using c imported enums 2020-04-27 11:21:49 +02:00
Isaac Freund
609eeae6f4
Support wlr-screencopy
Closes https://github.com/ifreund/river/issues/7
2020-04-26 11:08:56 +02:00
Isaac Freund
94760394b4
Bikeshed variable names 2020-04-21 16:29:17 +02:00
Isaac Freund
cd19a4615b
Properly clean up resources on exit 2020-04-18 12:21:43 +02:00
Isaac Freund
0557d9df9d
Close layer surfaces on output destroy 2020-04-17 19:31:38 +02:00
Isaac Freund
2283ee78b5
Track the focused output of seats 2020-04-15 17:59:46 +02:00
Isaac Freund
5bbfcab60e
Improve handling of layer surface output assignment 2020-04-15 13:38:36 +02:00
Isaac Freund
6e2ad0583c
Add a noop output using the noop backend
This is intended for use when no real outputs are available.
2020-04-14 13:46:40 +02:00
Isaac Freund
0f52f664f2
Introduce InputManager for eventual multi-seat 2020-04-12 22:19:48 +02:00
Isaac Freund
03691722b2
Handle exclusive zones of layer surfaces 2020-04-11 20:34:51 +02:00
Isaac Freund
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
Isaac Freund
1ffd13ef86
Implement xdg-output 2020-04-10 17:23:25 +02:00
Isaac Freund
bd91bacee9
Implement initial layer shell support
exclusive zones and popups are still TODO
2020-04-10 16:49:52 +02:00
Isaac Freund
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
Isaac Freund
fa65333789
Refactor keybindings to be runtime defined. 2020-04-07 21:48:56 +02:00
Isaac Freund
15f97314a9
Move commands to a separate file 2020-04-07 19:16:38 +02:00
Isaac Freund
5c320c0b8c
Allow switching VTs 2020-04-06 22:23:30 +02:00
Isaac Freund
424a16fe94
Remove len field from ViewStack
This is misleading as unmapped views should be ignored
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
26a5aaca69
Implement switching between single tags 2020-04-01 19:39:36 +02:00
Isaac Freund
d0bfa7bb01
Make c import a little cleaner 2020-03-29 19:36:15 +02:00
Isaac Freund
d9d9388978
Handle timeout of transactions that take too long 2020-03-29 16:56:30 +02:00
Isaac Freund
f5304237b5
Pass self as immutable where possible 2020-03-29 15:58:04 +02:00
Isaac Freund
e55d40ab10
Swap bindngs for send to top and start terminal 2020-03-29 14:07:39 +02:00
Isaac Freund
a2901c90ba
Only move view to top if needed 2020-03-29 14:03:12 +02:00
Isaac Freund
7e7dfe563a
Add keybind for adjusting master factor 2020-03-29 13:50:12 +02:00
Isaac Freund
866f2c7614
Add keybindings for changing master count 2020-03-28 14:44:48 +01:00
Isaac Freund
ca2e169535
Add keybind to move current focus to top of stack 2020-03-28 14:37:30 +01:00
Isaac Freund
dc23f29915
Remove references to old name 2020-03-28 11:42:58 +01:00
Isaac Freund
5bf161e744
Implement basic xdg decoration management 2020-03-27 18:31:03 +01:00
Isaac Freund
f1ff381a38
Add keybind to spawn alacritty instance 2020-03-27 02:10:31 +01:00
Isaac Freund
51e8191031
Flesh out focus handling and add keybinds 2020-03-27 02:05:57 +01:00
Isaac Freund
6c12c23cdb
Correct a few function names to camelCase 2020-03-25 16:29:30 +01:00
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
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