summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2001-01-01 23:44:10 -0500
committerKristian Høgsberg <krh@redhat.com>2001-01-01 23:44:10 -0500
commit57b751b0c32d4c71e050ec2edaca5136fd6b7095 (patch)
treedb11d9fa22c386cca60b529c96f7c5bf2ff90972
parentab909aedac076926ebc5d752c9739cbe6ccf62da (diff)
downloadwayland-57b751b0c32d4c71e050ec2edaca5136fd6b7095.tar.gz
wayland-57b751b0c32d4c71e050ec2edaca5136fd6b7095.tar.xz
wayland-57b751b0c32d4c71e050ec2edaca5136fd6b7095.zip
Fix flower client.
-rw-r--r--flower.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/flower.c b/flower.c
index 67fc334..3488ead 100644
--- a/flower.c
+++ b/flower.c
@@ -157,6 +157,9 @@ int main(int argc, char *argv[])
source = wl_glib_source_new(display);
g_source_attach(source, NULL);
+ /* Process connection events. */
+ wl_display_iterate(display, WL_DISPLAY_READABLE);
+
flower.compositor = wl_display_get_compositor(display);
flower.x = 512;
flower.y = 384;