Commit graph

279 commits

Author SHA1 Message Date
Isaac Freund
1674368ef3
Fix assorted minor errors
These were discovered by a recursive refAllDecls, but the test used
currently hits an infinite loop so it cannot yet be committed.
2020-11-23 20:30:21 +01:00
Isaac Freund
448a8add09
Use specific types over core protocol wl.Resources
May be worth doing this for all resources, but then a lot of xml has to
be scanned for questionable benefit.
2020-11-20 01:52:22 +01:00
Isaac Freund
9dfb9dc473
Bing wlr/backend/session.h 2020-11-19 19:50:29 +01:00
Isaac Freund
aa67dccd14
Update to latest zig-xkbcommon 2020-11-19 17:17:50 +01:00
Isaac Freund
dd050c2f43
Make wlr.Keyboard.ModifierMask 32 bits
This is more forward compatible and allows direct bitcasting from the
u32 wlroots returns.
2020-11-19 13:14:20 +01:00
Dominik Honnef
f51eade727 Implement wlr_box functions 2020-11-19 03:15:33 +01:00
Dominik Honnef
e64e33f80f Use errors instead of optionals for some functions 2020-11-19 02:24:21 +01:00
Isaac Freund
b5b39d0ed3
Update to new zig-wayland list API 2020-11-18 20:11:44 +01:00
Isaac Freund
669a59d3e3
Clean up wlr_edges handling 2020-11-17 18:17:55 +01:00
Isaac Freund
678cf46b14
Fix various small errors 2020-11-17 16:44:02 +01:00
Isaac Freund
1479b4c183
Add missing wlr_seat functions 2020-11-17 16:04:33 +01:00
Isaac Freund
6bc75b93a0
Allow null in some seat keyboard functions 2020-11-17 15:11:55 +01:00
Isaac Freund
af0f9abe2c
Fix wlroots import 2020-11-17 14:34:18 +01:00
Isaac Freund
ead3022424
Add missing pub designations 2020-11-17 14:31:27 +01:00
Isaac Freund
1f065d2f03
Use usize instead of ?*c_void for data fields
This is semantically more accurate and makes zig code using these more
concise.
2020-11-16 21:04:14 +01:00
Isaac Freund
81477d70ec
Update to wlroots 0.12.0
Note to future self: git log -p include/wlr/ is super helpful
2020-11-10 12:41:27 +01:00
Isaac Freund
176a039d73
Make Backend.createNoop() return type optional 2020-11-05 23:36:03 +01:00
Isaac Freund
f29ce8fab2
style fix: XCursor -> Xcursor 2020-11-05 20:12:35 +01:00
Isaac Freund
a0965f4196
Bing wlr/xwayland.h 2020-11-05 20:03:03 +01:00
Isaac Freund
74f401e795
Bind wlr_linux_dmabuf_v1.h 2020-11-05 11:42:47 +01:00
Isaac Freund
bfcfb8c904
Bind wlr_xdg_output_v1.h 2020-11-05 01:31:35 +01:00
Isaac Freund
5f8b86b8df
Bing wlr_xdg_decoration_v1.h 2020-11-05 01:08:39 +01:00
Isaac Freund
c2d3d835b4
Bind wlr_virtual_keyboard.h 2020-11-05 00:29:46 +01:00
Isaac Freund
b0df192bb6
Bind wlr_virtual_pointer.h 2020-11-05 00:16:46 +01:00
Isaac Freund
5fbaf59a4b
Bing wlr_viewporter.h 2020-11-04 23:53:03 +01:00
Isaac Freund
8212034439
Bind wlr_screencopy_v1.h 2020-11-04 23:24:37 +01:00
Isaac Freund
1fa8566c27
Bind wlr_primary_selection_v1.h 2020-11-04 23:24:37 +01:00
Isaac Freund
c97a6c1451
Bing wlr_output_power_management_v1.h 2020-11-04 15:47:09 +01:00
Isaac Freund
2d5386101c
Bind wlr_layer_shell_v1.h 2020-11-04 12:41:25 +01:00
Isaac Freund
26b8e7af93
Bind wlr_input_inhibitor.h 2020-11-03 18:35:58 +01:00
Isaac Freund
35a3cf9903
Bind wlr_idle.h 2020-11-03 17:14:51 +01:00
Isaac Freund
57220259d6
Bind wlr_gamma_control_v1.h 2020-11-03 15:48:09 +01:00
Isaac Freund
d6074d843a
Bind wlr_export_dmabuf_v1.h 2020-11-03 15:40:44 +01:00
Isaac Freund
3ea7f98665
Bind wlr_data_control_v1.h 2020-11-03 15:20:29 +01:00
Isaac Freund
b62bae2a94
Bind backend/noop.h 2020-11-03 14:00:58 +01:00
Isaac Freund
832b3a3d19
Bind backend/multi.h 2020-11-03 13:57:01 +01:00
Isaac Freund
71f20790e5
Fix broken link 2020-11-03 13:26:13 +01:00
Isaac Freund
07f15a2416
Clarify licensing in READMEs 2020-11-03 13:23:30 +01:00
Isaac Freund
e8f077cb98
tinywl: clean up build system, add LICENSE/README 2020-11-03 11:24:29 +01:00
Isaac Freund
928e54dd2f
tinywl: finish initial implemention
Could use more comments, but it is now roughly equivalent to the wlroots
version.
2020-10-22 21:06:38 +02:00
Isaac Freund
fcab6d10aa
tinywl: implement keyboard handling 2020-10-21 18:29:52 +02:00
Isaac Freund
59fd0942eb
Use wayland enums instead of wlroots duplicates 2020-10-21 18:28:19 +02:00
Isaac Freund
2bd33d696c
Tweak naming decisions 2020-10-19 22:14:17 +02:00
Isaac Freund
16cedbcc2b
Add tinywl skeleton 2020-10-19 19:39:06 +02:00
Isaac Freund
5d18879285
Bind wlr_primary_selection.h 2020-10-19 19:39:06 +02:00
Isaac Freund
54e35ff77c
Add missing @import() 2020-10-19 19:39:06 +02:00
Isaac Freund
89685d7c12
Add missing wl.Signal() type parameters 2020-10-19 19:39:06 +02:00
Isaac Freund
b41118838c
Comment out unbound InputDevice union fields
This is temporary, all wlroots APIs will be bound eventually
2020-10-19 19:39:06 +02:00
Isaac Freund
57c2889dc7
Bind wlr_keyboard_group.h 2020-10-19 19:39:06 +02:00
Isaac Freund
6c3383d359
Add missing re-export of FBox 2020-10-19 19:39:05 +02:00