mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-19 06:59:51 -05:00
compositor: Forward pointer focus notification from compostor backend
This lets the compositor place the pointer sprite correctly when it receives pointer focus and allows it to send pointer focus to any client that might receive pointer focus as the compositor receives it.
This commit is contained in:
parent
26ef22e3f4
commit
93331ff40a
5 changed files with 58 additions and 37 deletions
|
|
@ -155,6 +155,12 @@ void
|
|||
notify_key(struct wl_input_device *device,
|
||||
uint32_t time, uint32_t key, uint32_t state);
|
||||
|
||||
void
|
||||
notify_pointer_focus(struct wl_input_device *device,
|
||||
uint32_t time,
|
||||
struct wlsc_output *output,
|
||||
int32_t x, int32_t y);
|
||||
|
||||
void
|
||||
wlsc_compositor_finish_frame(struct wlsc_compositor *compositor, int msecs);
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue