Commit graph

225 commits

Author SHA1 Message Date
15c70816f3 Split luak.c into multiple files 2020-01-02 00:11:46 +00:00
3e4fc2bf46 Prefix kiwmi_server methods with kiwmi_server 2020-01-01 18:13:47 +00:00
236c76df0e Add view event to kiwmi_server 2020-01-01 18:13:24 +00:00
460ec217dd Add hidden, hide and show to views 2020-01-01 18:10:42 +00:00
ab1e95bef3 Change make kiwmi an object, use pcall for Lua functions 2019-12-31 15:19:42 +00:00
21f726c3ce Change on_cursor_button's callbacks parameter to a table 2019-12-31 13:46:21 +00:00
Tadeo Kondrak
858bd3a767 Implement view:move() 2019-12-30 23:06:58 -07:00
Tadeo Kondrak
0306baf534 Fix crash on unmap
The complete type unsafety of wl_container_of strikes again.
2019-12-30 22:30:08 -07:00
Tadeo Kondrak
23a387a217 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
849cda7021 Rename focus_view to view_focus
For consistency with the other functions.
2019-12-30 22:24:58 -07:00
Tadeo Kondrak
09b817deaa Remove focus on click
It's a config responsibility now.
2019-12-30 22:24:53 -07:00
Tadeo Kondrak
861e4ec55a Add ForEachMacros to .clang-format
So it doesn't add a linebreak after them.
2019-12-30 21:46:50 -07:00
006c73b47a Fix callback leak 2019-12-31 00:25:20 +00:00
9fb2b2ce43 Add luaK_fini 2019-12-31 00:09:06 +00:00
1d073cf0ea 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
9f9370e949 Add view_close 2019-12-30 23:23:35 +00:00
dc6cf64892 Rename request_set_cursor to seat_request_set_cursor 2019-12-29 13:03:54 +00:00
7fd2f1fb29 Merge branch 'tadeokondrak-cursor-image-handling' 2019-12-29 13:01:13 +00:00
41edaf8489 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
ced6665c75 Add support for cursor axis and frame events (#15)
For scrolling support.
2019-12-29 11:10:51 +00:00
Tadeo Kondrak
83381498ff Fix lack of return from function (#14) 2019-12-29 10:39:53 +00:00
Tadeo Kondrak
9dfbb462ca Verify focus on cursor image changes 2019-12-29 01:26:29 -07:00
Tadeo Kondrak
0bdfdde29b Basic implementation of request_set_cursor
Requires moving wlr_seat initialization above cursor creation, so we can
add listeners to it. Currently does no verification that the client
actually has focus.
2019-12-29 01:26:28 -07:00
06debf11db Add basic cursor handling (including focusing clients) 2019-12-26 20:55:10 +00:00
2f4c865afc Move view creation code into view_create 2019-12-24 17:09:16 +00:00
68eec4ae23 Move wl_list_remove(view::link) to the top of the bunch 2019-12-24 16:09:22 +00:00
9ca0d87a32 Add auto focus for views and basic keyboard handling 2019-12-24 15:43:36 +00:00
31217d3089 Fix view staying in view list, even after destroyed 2019-12-24 15:41:23 +00:00
5014c08fc9 Merge branch 'RubbaBoy-master' 2019-12-22 16:59:49 +00:00
2b7bc885d2 Overhaul readme 2019-12-22 16:50:08 +00:00
RubbaBoy
6bb8e9c254 Replaced README and CONTRIBUTING files
The previous README and CONTRIBUTING were both text, the readme being non-intriguing with nothing to really hook a user looking at the project. This doesn't need to be accepted, however I'd recommend using it as a reference or similar for a future rework of the readme. HTML can also be used if you don't want to use Markdown.
2019-12-21 21:36:48 -05:00
b62baab140 Rework README 2019-12-22 02:20:08 +00:00
cce0d0ba15 Support xdg-shell and add basic rendering 2019-12-21 14:10:50 +00:00
3673ae37ca Change free, malloc to realloc 2019-12-11 13:46:09 +00:00
f936aed7c2 Add protocols (xdg-shell) 2019-12-10 23:37:43 +00:00
1e42eba563 Style changes 2019-12-04 16:55:25 +00:00
0f4657e279 Add screenshot support 2019-12-04 16:54:46 +00:00
815a8b96ad Change fallback render color to something more visible 2019-11-28 18:30:49 +00:00
79e6b392cf Add Lua config without kiwmi lib 2019-10-18 23:32:38 +02:00
71917a46cf Add config path default 2019-10-18 22:42:30 +02:00
16653242e8 Get away from adoc 2019-10-16 19:21:14 +02:00
258f4fab9a Fix typo 2019-10-16 19:09:17 +02:00
5a362d63c5 Delete frontend, add config 2019-10-16 19:05:30 +02:00
f81cfc1725 Move headers 2019-10-16 18:51:18 +02:00
fa772c2af9 Remove kiwmic 2019-10-16 18:23:32 +02:00
084b2bca84 Change readme 2019-10-16 18:21:44 +02:00
ffd4a89db0 Updated to wlr 0.6 2019-07-10 22:11:14 +02:00
5cc86571a6 Fix indentation in meson.build 2019-05-03 10:54:08 +02:00
fa4cbf0647 Move type declaration for cmd_handlers up 2019-05-03 09:18:55 +02:00
6cf3a23ad0 Fixed zombification 2019-04-17 17:40:56 +02:00