Commit graph

254 commits

Author SHA1 Message Date
buffet
9732952cc4 Move seat into extra file 2020-01-18 15:56:12 +00:00
buffet
89e9046ccc Add interactive move and rudamentary resize 2020-01-17 19:51:56 +00:00
buffet
94ba184fd3 Add keboard:on_destroy 2020-01-15 22:48:15 +00:00
buffet
b740e7f2d0 Fix memleaks 2020-01-15 20:52:26 +00:00
buffet
9ab4ce5652 Add enum field to kiwmi_command::done 2020-01-15 20:31:53 +00:00
buffet
4262e81962 Start layer-shell 2020-01-15 20:30:37 +00:00
buffet
775fe9a5ad Add extra information to docs 2020-01-09 13:53:23 +00:00
buffet
4ab7adb1bc Fix typo 2020-01-09 01:02:38 +00:00
buffet
9f1f771d4f Add documentation for the Lua API 2020-01-08 23:20:29 +00:00
buffet
5d9ebb43d0 Add view:size 2020-01-08 22:26:17 +00:00
buffet
07bbda4d72 Add server:view_at 2020-01-08 21:46:41 +00:00
buffet
2631b77fb1 Add output:on_resize, fix missing output:on 2020-01-08 21:46:36 +00:00
buffet
81f2ee43c4 clang-format 2020-01-08 17:33:15 +00:00
buffet
4d66181506 Add equality for Lua types 2020-01-08 17:33:01 +00:00
buffet
e75b462fc1 Make view:tiled user configurable 2020-01-08 17:24:13 +00:00
buffet
a2b4bd58ae Rename view_resize to view_set_size 2020-01-08 16:39:20 +00:00
buffet
0d6965192c Add view:tiled 2020-01-07 15:10:51 +00:00
buffet
a1716e56d7 Add cursor API 2020-01-07 14:48:55 +00:00
buffet
78d97127ed Add output interface 2020-01-06 18:25:46 +00:00
buffet
55767e55ef Add missing return on error in a few places 2020-01-06 16:47:57 +00:00
buffet
525ff083b1 Cap namelen 2020-01-06 16:47:33 +00:00
buffet
c795459bb4 Fix protocol names 2020-01-05 00:02:58 +00:00
buffet
b80f1ca27f Add view:pos and view:resize 2020-01-04 23:54:55 +00:00
buffet
60c1c01616 Add keyboard to Lua API, make everything on lua->L balanced 2020-01-04 23:23:15 +00:00
buffet
3df162d3eb Add kiwmi:focused_view() and kiwmi:spawn() 2020-01-03 20:46:39 +00:00
buffet
c1190ac355 Add missing assignment to focused_view 2020-01-03 20:46:06 +00:00
buffet
890602d863 Add kiwmic IPC 2020-01-03 18:40:11 +00:00
buffet
ca69adf365 Add view destroy event 2020-01-02 23:39:15 +00:00
buffet
1e0d828c68 Make event handler registration generic 2020-01-02 22:15:00 +00:00
buffet
600922f909 Split luak.c into multiple files 2020-01-02 00:11:46 +00:00
buffet
05da6f02ce Prefix kiwmi_server methods with kiwmi_server 2020-01-01 18:13:47 +00:00
buffet
e4256f5476 Add view event to kiwmi_server 2020-01-01 18:13:24 +00:00
buffet
77f7d14fe1 Add hidden, hide and show to views 2020-01-01 18:10:42 +00:00
buffet
a107bda0be Change make kiwmi an object, use pcall for Lua functions 2019-12-31 15:19:42 +00:00
buffet
951dcaf0a3 Change on_cursor_button's callbacks parameter to a table 2019-12-31 13:46:21 +00:00
Tadeo Kondrak
096c470571
Implement view:move() 2019-12-30 23:06:58 -07:00
Tadeo Kondrak
714038e0f4
Fix crash on unmap
The complete type unsafety of wl_container_of strikes again.
2019-12-30 22:30:08 -07:00
Tadeo Kondrak
3104a7c545
Pass arguments to on("cursor_button")
Loses the genericity, but I don't think we have a choice.
2019-12-30 22:30:07 -07:00
Tadeo Kondrak
f3190f2eb8
Rename focus_view to view_focus
For consistency with the other functions.
2019-12-30 22:24:58 -07:00
Tadeo Kondrak
62daa5383c
Remove focus on click
It's a config responsibility now.
2019-12-30 22:24:53 -07:00
Tadeo Kondrak
440adaaaff
Add ForEachMacros to .clang-format
So it doesn't add a linebreak after them.
2019-12-30 21:46:50 -07:00
buffet
eda1fc566d Fix callback leak 2019-12-31 00:25:20 +00:00
buffet
3a5ed32a6c Add luaK_fini 2019-12-31 00:09:06 +00:00
buffet
57a3b2c46e Add Lua library
For now only kiwmi.on, kiwmi.quit, kiwmi.view_under_cursor,
kiwmi_view:close, lua_callback:cancel, and cursor_button events.
2019-12-30 23:33:07 +00:00
buffet
0405fbe14d Add view_close 2019-12-30 23:23:35 +00:00
buffet
1e49f076d5 Rename request_set_cursor to seat_request_set_cursor 2019-12-29 13:03:54 +00:00
buffet
25e7384614 Merge branch 'tadeokondrak-cursor-image-handling' 2019-12-29 13:01:13 +00:00
buffet
e2c9847c28 Merge branch 'cursor-image-handling' of git://github.com/tadeokondrak/kiwmi into tadeokondrak-cursor-image-handling 2019-12-29 13:00:45 +00:00
Tadeo Kondrak
351e5ed6d7 Add support for cursor axis and frame events (#15)
For scrolling support.
2019-12-29 11:10:51 +00:00
Tadeo Kondrak
5892347df4 Fix lack of return from function (#14) 2019-12-29 10:39:53 +00:00