projects
/
platform
/
core
/
uifw
/
libtdm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow output name "primary" in tdm_client_wait_vblank
[platform/core/uifw/libtdm.git]
/
src
/
tdm_server.c
diff --git
a/src/tdm_server.c
b/src/tdm_server.c
index
99ff6d0
..
1233deb
100644
(file)
--- 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;