В письме от понедельник, 20 ноября 2017 г. 17:36:03 MSK Вы написали:
I tried resolution 1367x768 on FreeRDP without any issues. Seems that FreeRDP doesn't do resolution rounding. > On Nov 20, 2017 16:40, "Azamat S. Kalimoulline" <[email protected]> wrote: > > Hi. > > > Hi Azamat, > > Beware that, as you are not subscribed to the dev@ list, your message went > into the moderation queue. If you wish the be able to respond or receive > responses, you will need to subscribe to the list. > > We use guacamole and love it. But we've found, that requested resolution > 1366x768 becames 1364x768 in guacamole. Reading sources give me next lines: > > /* Round width down to nearest multiple of 4 */ > settings->width = settings->width & ~0x3; > > So, my question why is it implemented in that way? Is there any reason for > it? > > > Yes. > > Some versions of Windows will entirely fail to render the screen correctly > unless the width is a multiple of 4. The old issue that addressed this > within guac (from back in 2013) was: > > https://glyptodon.org/jira/browse/GUAC-256 > > There is a screenshot attached to the above issue which shows the kind of > screen corruption which can result if the width is not rounded. > > See also: > > https://github.com/apache/incubator-guacamole-server/commit/9faf4b0bf2e61c77 > 61e7e902225c9ebdafa046be > > - Mike
