summaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-10-11 19:21:35 -0400
committerKristian Høgsberg <krh@redhat.com>2008-11-06 10:51:58 -0500
commit5ebb317383b9863ca7da037a7348ab3ee4f9f34c (patch)
tree369de5255ebc7cc23e283f9c489144cab4a14ba0 /wayland.c
parentf921289954840063722c8e3d541c5089b34a082a (diff)
Recomposite screen in idle handler.
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index 8604bba..20fbcb8 100644
--- a/wayland.c
+++ b/wayland.c
@@ -469,6 +469,12 @@ wl_display_set_compositor(struct wl_display *display,
display->compositor = compositor;
}
+struct wl_event_loop *
+wl_display_get_event_loop(struct wl_display *display)
+{
+ return display->loop;
+}
+
void
wl_display_run(struct wl_display *display)
{