This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gokdriveclient. from 602396a set default window geometry to 800x600. new 62c3faf force client to send geometry event if the size of the display area is not changed after intiation for server to send initial image. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: client.cpp | 8 +++++++- debian/changelog | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdriveclient. commit 62c3fafcfc4dc9e92d2395ed8d42a2170cc8a077 Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Thu Jan 23 09:01:13 2020 +0100 force client to send geometry event if the size of the display area is not changed after intiation for server to send initial image. --- client.cpp | 8 +++++++- debian/changelog | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 0186a9a..ceb5e03 100644 --- a/client.cpp +++ b/client.cpp @@ -1067,7 +1067,13 @@ void Client::socketConnected() } connected=true; - resize(width, height); + if(geometry().width() != width || geometry().height() != height ) + resize(width, height); + else + { + currentGeometry=geometry(); + sendGeometryEvent(); + } if(fullscreen) { diff --git a/debian/changelog b/debian/changelog index 0193850..cd71b3e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,5 +17,7 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium * Add floating tool bar. - disable kbd input for toolbar. - set default window geometry to 800x600. + - force client to send geometry event if the size of the display area is not changed after intiation + for server to send initial image. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Tue, 04 Jun 2019 11:10:43 +0200 -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git