From: Changyeon Lee Date: Wed, 15 Jun 2016 10:51:09 +0000 (+0900) Subject: Allow output name "primary" in tdm_client_wait_vblank X-Git-Tag: accepted/tizen/common/20160620.162430^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22c00978a791c5234748071b162f9d33fdfa67e6;p=platform%2Fcore%2Fuifw%2Flibtdm.git Allow output name "primary" in tdm_client_wait_vblank Change-Id: I39b4e5fa789ccda07a7b1156ecc11482237818cf --- diff --git a/src/tdm_server.c b/src/tdm_server.c index 99ff6d0..1233deb 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;