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:
Kristian Høgsberg 2011-01-26 20:35:07 -05:00
parent 26ef22e3f4
commit 93331ff40a
5 changed files with 58 additions and 37 deletions

View file

@ -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