From mike.gabriel@das-netzwerkteam.de Tue May 19 10:59:26 2015 Received: (at 872) by bugs.x2go.org; 19 May 2015 08:59:28 +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 freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id EDEE45DA83 for <872@bugs.x2go.org>; Tue, 19 May 2015 10:59:25 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 6EA913DC7; Tue, 19 May 2015 10:59:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1359D3BCF5; Tue, 19 May 2015 10:59:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GQXVb2M9LWaY; Tue, 19 May 2015 10:59:24 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id A20B73BA08; Tue, 19 May 2015 10:59:24 +0200 (CEST) Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Tue, 19 May 2015 08:59:24 +0000 Date: Tue, 19 May 2015 08:59:24 +0000 Message-ID: <20150519085924.Horde.jBEwyYwTdmSksyJml9XJ-w1@mail.das-netzwerkteam.de> From: Mike Gabriel To: Oleksandr Shneyder , 872@bugs.x2go.org, Ulrich Sibiller Subject: Re: [X2Go-Dev] Bug#872: 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> <5559EBF8.5090900@phoca-gmbh.de> <555AEFD2.2020807@phoca-gmbh.de> In-Reply-To: <555AEFD2.2020807@phoca-gmbh.de> User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 178.62.101.154 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 Iceweasel/32.0 Content-Type: multipart/signed; boundary="=_S6WXj0Rc05YlA79D0VNHtw1"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_S6WXj0Rc05YlA79D0VNHtw1 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Alex, On Di 19 Mai 2015 10:09:54 CEST, Oleksandr Shneyder wrote: > Am 18.05.2015 um 21:01 schrieb Ulrich Sibiller: >> On Mon, May 18, 2015 at 3:41 PM, Oleksandr Shneyder >> 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. >> >> 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): >> >> https://github.com/uli42/nx-libs/commit/61018cd39d02fbda1f2f766d8320c538= 66fa55d3 >> >> Uli >> > 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. This is exactly what Ulrich is working on [1]. In the first test=20=20 builds=20with his patches, the nxagent window adapts the Xinerama layout=20= =20 inside=20the nxagent whenever nxagent is moved over the client-side=20=20 screen=20area. Especially check the changes in hw/nxagent/Screen.c, and=20= =20 there=20the intersect() function. With Ulrich's patches, nxagent has Xinerama support without being in=20=20 need=20of a xinerama.conf file. I tested that with Python X2Go (i.e.,=20=20 via=20nxproxy) and via command line session startups (i.e., all on the=20= =20 same=20host). There are still some kinks we observe with several window managers,=20=20 but=20I am pretty sure that those issues need to be fixed in the window=20= =20 managers=20(esp. MATE's window manager and also openbox). Mike https://github.com/ArcticaProject/nx-libs/pull/23/files --=20 DAS-NETZWERKTEAM mike=20gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= fb --=_S6WXj0Rc05YlA79D0VNHtw1 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVWvtsAAoJEJr0azAldxsxrCQP/3gvkiefJvUaeEROXdVIyXyq YVMtengHnwuPwX0PN2nVltvGnWxRCwTU6WosuPKlecAxxwpZEXui0DUELGtLfhPX TKcolacq4BBdbFi0JkRAc+8y+DsPK1LMY+U+JZbpiDBUQJp+gJvj8RnTQWK8I4eO tHR/qSj+MD27KjM7Fh7HqLbSVAZcQtzvCMN+IUGVjzGGGYpVHCBZLlDDinizgT73 e8zjC44VvPGG6/EkKvLDR9R2PmGyfDZ9IhJt7p270x6UOXJt2uB5KeEDCExV9FOv JVlxA41UROD38x/RjksBynRYBxb6swT9NOn/GavatqJjKorWSBefdPpe3ZMe4Bt0 kYj1qyiHrcMX4Jj27sIVRtg1vvg8LHVZD3lgzU618AGs0ADNLwC8mxrt+R6dfwJh 8qK16lgyzJ5wDXJcw7fOxk8vvsWqT70OQQDR1DprMTHr/aNs/9mj/6pLgE4A46Z1 6wb+PDi4+E7KNoZICy/EblmNz5rh35ZHU9z3bqVVDSOkIm+ZvpgwCr9ZjDl+2h8a pUPpqzwOkqzFynxpC82Tz+WWRjFyvbcFToVaqOmcspIbqG+aYQlDDeldQMHeUT/W 80T54OZD7s5aDIaxA0dhg8tVDgv0KQ/InI40C6dvZCpfR+qsGg4cla4lQuAV/wS5 gCcwZ3kLWZG8kTc098tS =4EWK -----END PGP SIGNATURE----- --=_S6WXj0Rc05YlA79D0VNHtw1--