From o.shneyder@phoca-gmbh.de  Tue May 19 10:10:04 2015
Received: (at 872) by bugs.x2go.org; 19 May 2015 08:10:06 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from mail.cowic.de (mx1.cowic.de [80.190.97.241])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 038575DA83
	for <872@bugs.x2go.org>; Tue, 19 May 2015 10:10:03 +0200 (CEST)
Received: from [192.168.0.108] (unknown [95.90.221.251])
	by mail.cowic.de (Postfix) with ESMTP id B4F3E380B861;
	Tue, 19 May 2015 10:10:03 +0200 (CEST)
Message-ID: <555AEFD2.2020807@phoca-gmbh.de>
Date: Tue, 19 May 2015 10:09:54 +0200
From: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0
MIME-Version: 1.0
To: Ulrich Sibiller <uli42@gmx.de>, 872 <872@bugs.x2go.org>
Subject: Re: [X2Go-Dev] Bug#872: Bug#872: Turn xinerama.conf file related
 code inside X2Go Client into legacy code (for NX agents << 3.6)
References: <20150515115912.Horde.GtfqM24QvRXo7Sd2CZWsHw1@mail.das-netzwerkteam.de> <55583925.1040206@phoca-gmbh.de> <20150518084055.Horde.mlraxHD7gXZTq0IPaU98Eg1@mail.das-netzwerkteam.de> <5559AF7A.9070803@phoca-gmbh.de> <CANVnVYJOtianqJR3jOx2TTne0-0xcg4AN7FcLYxQ0V0iMM1cqg@mail.gmail.com> <5559EBF8.5090900@phoca-gmbh.de> <CANVnVY+DLhZuxtFDEwyUrAtaLLYV1+UkxejjpFeBint1GJ-69A@mail.gmail.com>
In-Reply-To: <CANVnVY+DLhZuxtFDEwyUrAtaLLYV1+UkxejjpFeBint1GJ-69A@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="cjDEfhRk304NIum545wfNOkouxvjj2tb4"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--cjDEfhRk304NIum545wfNOkouxvjj2tb4
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Imagine that you have agent window in the middle of two screens. Window
size is 1024x768. You current displays configuration in that case is:
left-512x768, right-512x768. Imagine, that you moved your window 100 px
left. Now your displays configuration is: left-612x768, right-412x768.
But from the view of x2goagent nothing is changed, agent has no idea
about the display geometry on the client side. This is why client
updating xinerama.conf and resizing a window to apply new settings. I
hope it's understandable.

regards,
Alex

Am 18.05.2015 um 21:01 schrieb Ulrich Sibiller:
> On Mon, May 18, 2015 at 3:41 PM, Oleksandr Shneyder
> <o.shneyder@phoca-gmbh.de> wrote:
>> yes, if you moving window between two physical displays, without
>> resizing it, x2goagent doesn't know, that display configuration is
>> changed, because geometry of the x2goagent stays same. So I resized a
>> window to refresh a display configurations.
>=20
> Why does nxagent/x2goagent need know about that? In the current
> solution with xinerama.conf I don't see why x2goagent should be
> informed in this case. And if it really needs to know, this patch
> _should_ help (I have not tested this patch alone):
>=20
> https://github.com/uli42/nx-libs/commit/61018cd39d02fbda1f2f766d8320c53=
866fa55d3
>=20
> Uli
>=20


--=20
-----------------------------------------------------------
Oleksandr Shneyder        | Email: o.shneyder@phoca-gmbh.de
phoca GmbH                | Tel. : 0911 - 14870374 0
Ludwig-Feuerbach-str. 18  | Fax. : 0911 - 14870374 9
D-90489 N=C3=BCrnberg          | Mobil: 0163 - 49 64 461

Gesch=C3=A4ftsf=C3=BChrung:
Dipl.-Inf. Oleksandr Shneyder

Amtsgericht M=C3=BCnchen | http://www.phoca-gmbh.de
HRB 196 658         | http://www.x2go.org
USt-IdNr.: DE281977973
-----------------------------------------------------------


--cjDEfhRk304NIum545wfNOkouxvjj2tb4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlVa79IACgkQxQmEC5b4kTPn/ACfTP/9DFc3CrJ5ECg5xNiyfjX9
XOYAn3nO9iy9ee5LD3SQh/7lBrfpB0Tu
=XsRY
-----END PGP SIGNATURE-----

--cjDEfhRk304NIum545wfNOkouxvjj2tb4--

