Commit graph

15 commits

Author SHA1 Message Date
Daniel Barlow
ccd7b10d92 reformat and fix compiler warnings 2022-08-14 21:55:13 +01:00
Daniel Barlow
e7b0bae792 add support for touch events (WIP)
This is tested with Gtk clients. There are a number of TODO items:

- hardcoded scaling for mapping the touch co-ordinate system
into layout co-ordinates (works on my Pinephone :-).

- we should send events to the client no matter what the Lua handler
returns (I think the code to not do this is broken
anyway...). Instead, if the handler returns true we should send the
client a touch cancel event.

- maybe there's a better way to deal with seat capabilities than
adding a "touchpads" field to kiwmi_input
2022-08-14 21:54:28 +01:00
tiosgz
4f39a54e69
Attempt to exit cleanly, without crash (#51) 2021-12-04 17:25:31 +00:00
tiosgz
d5352862bb Update pointer focus more often
Until now, focusing a different view didn't move pointer focus to it,
even though it was under the cursor. The pointer had to move in order
to switch its focus. Similar situations should be handled after this
commit.
2021-09-05 10:51:58 +00:00
buffet
9c7d848ce5 Add scoll event 2021-08-14 18:42:35 +00:00
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
b740e7f2d0 Fix memleaks 2020-01-15 20:52:26 +00:00
buffet
a1716e56d7 Add cursor API 2020-01-07 14:48:55 +00:00
buffet
1e49f076d5 Rename request_set_cursor to seat_request_set_cursor 2019-12-29 13:03:54 +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
7f9b9748ea
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
buffet
a25ff1957b Add basic cursor handling (including focusing clients) 2019-12-26 20:55:10 +00:00
buffet
83eef45530 Move headers 2019-10-16 18:51:18 +02:00
Renamed from include/kiwmi/input/cursor.h (Browse further)