From 22c00978a791c5234748071b162f9d33fdfa67e6 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Wed, 15 Jun 2016 19:51:09 +0900 Subject: [PATCH] Allow output name "primary" in tdm_client_wait_vblank Change-Id: I39b4e5fa789ccda07a7b1156ecc11482237818cf --- src/tdm_server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tdm_server.c b/src/tdm_server.c index 99ff6d0e..1233debd 100644 --- a/src/tdm_server.c +++ b/src/tdm_server.c @@ -264,6 +264,9 @@ _tdm_server_client_cb_wait_vblank(struct wl_client *client, found = client_info->vblank_output; } + if (!strncmp(name, "primary", TDM_NAME_LEN)) + found = tdm_display_get_output(private_loop->dpy, 0, NULL); + if (!found) { int count = 0, i; -- 2.34.1