Commit Graph

35 Commits

Author SHA1 Message Date
Isaac Freund
8a9c2182ea
Relicense to GPL-3.0-or-later 2020-05-02 19:21:10 +02:00
Isaac Freund
ed98e8fe1a
Make Keyboard a toplevel struct 2020-05-02 16:48:09 +02:00
Isaac Freund
97d395dbfc
Make Cursor a toplevel struct 2020-05-02 16:47:10 +02:00
Isaac Freund
9ea26d2a30
Make View a toplevel struct 2020-05-02 16:43:16 +02:00
Isaac Freund
a0d56ef635
Make LayerSurface a toplevel struct 2020-05-02 16:42:19 +02:00
Isaac Freund
96f2ff793c
Make Output a toplevel struct 2020-05-02 16:40:05 +02:00
Isaac Freund
7ddcebbbab
Make Seat a toplevel struct 2020-05-02 16:35:15 +02:00
Isaac Freund
4c97531860
Make InputManager a toplevel struct 2020-05-02 16:28:17 +02:00
Isaac Freund
c1b885dd64
Clean up some code using c imported enums 2020-04-27 11:21:49 +02:00
Isaac Freund
454e2454b6
Separate View from its implementation
This is done in preperation for Xwayland support
2020-04-26 12:29:08 +02:00
Isaac Freund
96c20f26fc
Handle set selection for clipboard support 2020-04-25 01:04:12 +02:00
Isaac Freund
56400a5955
Fix crash on non-toplevel views 2020-04-23 17:27:18 +02:00
Isaac Freund
472e2b2624
Fix layer sufaces holding focus after unmap 2020-04-19 15:15:50 +02:00
Isaac Freund
c959a426b7
Implement wlr-input-inhibitor 2020-04-19 14:31:41 +02:00
Isaac Freund
cd9d4ee395
Grab seats focused on the output for layer shell 2020-04-19 14:31:40 +02:00
Isaac Freund
5244618b01
Implement keyboard interactivity for layer shell 2020-04-19 14:31:40 +02:00
Isaac Freund
8fcca81755
Add binds to move views between outputs 2020-04-18 14:53:21 +02:00
Isaac Freund
cd19a4615b
Properly clean up resources on exit 2020-04-18 12:21:43 +02:00
Isaac Freund
414a076410
Fix focus handling on output cycle 2020-04-15 20:02:55 +02:00
Isaac Freund
2283ee78b5
Track the focused output of seats 2020-04-15 17:59:46 +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
0f52f664f2
Introduce InputManager for eventual multi-seat 2020-04-12 22:19:48 +02:00
Isaac Freund
fa65333789
Refactor keybindings to be runtime defined. 2020-04-07 21:48:56 +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
ac0c0449dc
Simplify initialization functions 2020-03-25 16:24:21 +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
0584fde126
WIP massive refactor 2020-03-22 22:42:55 +01:00