mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Hide wayland cursor when X11 compositor loses focus
This commit is contained in:
parent
554a131b29
commit
86e0989673
4 changed files with 22 additions and 6 deletions
|
|
@ -99,6 +99,7 @@ struct wlsc_compositor {
|
|||
uint32_t current_frame;
|
||||
|
||||
uint32_t modifier_state;
|
||||
uint32_t focus;
|
||||
|
||||
void (*present)(struct wlsc_compositor *c);
|
||||
};
|
||||
|
|
@ -131,8 +132,8 @@ notify_key(struct wlsc_input_device *device, uint32_t key, uint32_t state);
|
|||
|
||||
void
|
||||
wlsc_compositor_finish_frame(struct wlsc_compositor *compositor, int msecs);
|
||||
struct wlsc_input_device *
|
||||
wlsc_input_device_create(struct wlsc_compositor *ec);
|
||||
void
|
||||
wlsc_compositor_schedule_repaint(struct wlsc_compositor *compositor);
|
||||
|
||||
int
|
||||
wlsc_compositor_init(struct wlsc_compositor *ec, struct wl_display *display);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue