<div dir="auto">Sorry, yes it is typo. </div><div class="gmail_extra"><br><div class="gmail_quote">Dne 23. 5. 2017 5:28 odp. napsal uživatel "Christophe de Dinechin" <<a href="mailto:cdupontd@redhat.com">cdupontd@redhat.com</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text"><br>
> On 23 May 2017, at 10:44, Tomáš Bohdálek <<a href="mailto:tom.bohdalek@gmail.com">tom.bohdalek@gmail.com</a>> wrote:<br>
><br>
> Meansure for better display screen with console.<br>
<br>
</div>Not sure what “meansure” means? Is that a typo?<br>
<div class="elided-text"><br>
> ---<br>
> resize.js | 8 ++++----<br>
> 1 file changed, 4 insertions(+), 4 deletions(-)<br>
><br>
> diff --git a/resize.js b/resize.js<br>
> index f5410d3..b572de7 100644<br>
> --- a/resize.js<br>
> +++ b/resize.js<br>
> @@ -33,17 +33,17 @@<br>
> function resize_helper(sc)<br>
> {<br>
> var w = document.getElementById(sc.<wbr>screen_id).clientWidth;<br>
> - var h = document.getElementById(sc.<wbr>screen_id).clientHeight;<br>
> -<br>
> var m = document.getElementById(sc.<wbr>message_id);<br>
><br>
> /* Resize vertically; basically we leave a 20 pixel margin<br>
> at the bottom, and use the position of the message window<br>
> to figure out how to resize */<br>
> - var hd = window.innerHeight - m.offsetHeight - m.offsetTop - 20;<br>
> +<br>
> + /* Show both div elements - spice-area and message-div */<br>
> + var h = window.innerHeight - m.offsetHeight - m.clientHeight - 20;<br>
> +<br>
><br>
> /* Xorg requires height be a multiple of 8; round up */<br>
> - h = h + hd;<br>
> if (h % 8 > 0)<br>
> h += (8 - (h % 8));<br>
><br>
> --<br>
> 2.9.4<br>
><br>
</div>> ______________________________<wbr>_________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.<wbr>org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/spice-devel</a><br>
<br>
</blockquote></div><br></div>