Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Access wlr_seat [input]_state structs #177

Open
acrisci opened this issue Jun 1, 2018 · 1 comment
Open

Access wlr_seat [input]_state structs #177

acrisci opened this issue Jun 1, 2018 · 1 comment
Milestone

Comments

@acrisci
Copy link

acrisci commented Jun 1, 2018

https://github.com/swaywm/wlroots/blob/d3670dfeff43cbde98fae47fdb60ef223ce8c220/include/wlr/types/wlr_seat.h#L127

Access to these will be needed for some input related things. For instance, client cursors needs to know what the surface with pointer focus is so it knows whether the set cursor request is valid.

@Timidger Timidger added this to the 1.0 milestone Jun 1, 2018
@Timidger
Copy link
Member

Timidger commented Jun 1, 2018

Ok. For the seat and surface we should return SeatHandle and SurfaceHandles.

Also one thing that has a struct but isn't actually wrapped is wlr_seat_client since I wasn't actually sure how it related to the seat. Seems there's documentation there though #32 should be finished soon (though this is a separate issue, just wanted to bring it up)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants