Commit Graph

42 Commits

Author SHA1 Message Date
Isaac Freund
d6d30a7ab3
Add a filter to start views in floating mode 2020-04-22 23:35:16 +02:00
Isaac Freund
1362061c4c
Implement floating views 2020-04-22 22:51:18 +02:00
Isaac Freund
94760394b4
Bikeshed variable names 2020-04-21 16:29:17 +02:00
Isaac Freund
f0c4faf10b
Cleanup timespec types 2020-04-20 00:24:21 +02:00
Isaac Freund
837513d329
Remove uneeded abstraction 2020-04-18 17:07:57 +02:00
Isaac Freund
fb2639a226
Send surface enter/leave events 2020-04-18 16:21:26 +02:00
Isaac Freund
cd19a4615b
Properly clean up resources on exit 2020-04-18 12:21:43 +02:00
Isaac Freund
76fedd7450
Fix focus handling of newly mapped Views 2020-04-17 13:22:35 +02:00
Isaac Freund
5607163b20
Clean up listener handling for Views 2020-04-17 13:18:25 +02:00
Isaac Freund
8bfca48991
Implement the focus stack 2020-04-13 21:00:18 +02:00
Isaac Freund
3cb52c4898
Parially refactor commands to take a *Seat 2020-04-13 19:25:37 +02:00
Isaac Freund
b822084f39
Allow storing *View in ViewStack
This is done in preparation for implementing focus stacks.
2020-04-13 17:25:39 +02:00
Isaac Freund
0f52f664f2
Introduce InputManager for eventual multi-seat 2020-04-12 22:19:48 +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
bd91bacee9
Implement initial layer shell support
exclusive zones and popups are still TODO
2020-04-10 16:49:52 +02:00
Isaac Freund
b2fbdf2d87
Add keybind to close views 2020-04-08 17:43:00 +02:00
Isaac Freund
fa65333789
Refactor keybindings to be runtime defined. 2020-04-07 21:48:56 +02:00
Isaac Freund
626b2c691b
Rename gaps -> padding 2020-04-07 11:54:46 +02:00
Isaac Freund
aef2245272
Implement inner gaps 2020-04-05 18:31:55 +02:00
Isaac Freund
ea88cca35f
Take future borders into account for surface size 2020-04-04 23:26:15 +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
d34df295f7
Set xdg toplevels to tiled
This stops firefox from adding shadows around its window
2020-03-28 20:27:50 +01:00
Isaac Freund
02910145c8
Add new views to the top of the stack 2020-03-28 14:47:50 +01:00
Isaac Freund
d7d5cf06ee
Focus previous view on close instead of next 2020-03-28 14:20:53 +01:00
Isaac Freund
b1746c3222
Remove extraneous debug warns 2020-03-27 02:12:04 +01:00
Isaac Freund
51e8191031
Flesh out focus handling and add keybinds 2020-03-27 02:05:57 +01:00
Isaac Freund
647545d9fb
Handle arrange after view unmap/destroy properly 2020-03-26 21:43:02 +01: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
50494add40
Refactor xdg_shell handling 2020-03-23 14:04:54 +01:00
Isaac Freund
0584fde126
WIP massive refactor 2020-03-22 22:42:55 +01:00