diff options
author | Veeresh Kadasani <external.vkadasani@jp.adit-jv.com> | 2019-07-22 14:48:36 +0900 |
---|---|---|
committer | Veeresh Kadasani <external.vkadasani@jp.adit-jv.com> | 2019-07-23 11:38:26 +0900 |
commit | a9bf07b74b71ea4e385b8e6e5bc8d19fd91f43ef (patch) | |
tree | b9d3741375d128d52129d7b4021e7bf340b4f851 /waltham-transmitter/transmitter-plugin/plugin.c | |
parent | 6b673b5726dea2d2f8d39caee34d0ca850cc146e (diff) |
waltham-transmitter: Migrate to weston 5.0
This Patch have the changes to make transmitter work with Weston 5.0.
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
Diffstat (limited to 'waltham-transmitter/transmitter-plugin/plugin.c')
-rw-r--r-- | waltham-transmitter/transmitter-plugin/plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/waltham-transmitter/transmitter-plugin/plugin.c b/waltham-transmitter/transmitter-plugin/plugin.c index 92510c2..66c115f 100644 --- a/waltham-transmitter/transmitter-plugin/plugin.c +++ b/waltham-transmitter/transmitter-plugin/plugin.c @@ -381,7 +381,7 @@ conn_ready_notify(struct wl_listener *l, void *data) WL_OUTPUT_TRANSFORM_NORMAL, 1, 0, 0, - 300, 200, + 1024,768, strdup(remote->model), { WL_OUTPUT_MODE_CURRENT | WL_OUTPUT_MODE_PREFERRED, @@ -394,6 +394,7 @@ conn_ready_notify(struct wl_listener *l, void *data) if(remote->height != 0) { info.mode.width = remote->width; info.mode.height = remote->height; + info.mode.refresh= 60; } } /* Outputs and seats are dynamic, do not guarantee they are all |