Hide wayland cursor when X11 compositor loses focus

This commit is contained in:
Kristian Høgsberg 2010-07-07 09:51:11 -04:00
parent 554a131b29
commit 86e0989673
4 changed files with 22 additions and 6 deletions

View file

@ -678,6 +678,7 @@ drm_compositor_create(struct wl_display *display)
WL_EVENT_READABLE, on_drm_input, ec);
setup_tty(ec, loop);
ec->base.present = drm_compositor_present;
ec->base.focus = 1;
return &ec->base;
}