From mint-bounce@lists.fishpool.fi Thu Dec 8 23:33:49 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: Re: [MiNT] WM_REPOSED implementation From: Odd Skancke To: MiNT List In-Reply-To: <1134080134.19887.229.camel@taro.coolrunningconcepts.com> References: <4397F4C3.7030701@utbm.fr> <1134035229.5776.50.camel@linuxbox> <4398098F.2010604@utbm.fr> <43988E5F.6000201@free.fr> <1134077315.29437.27.camel@linuxbox> <4398ACDC.2020203@free.fr> <1134080134.19887.229.camel@taro.coolrunningconcepts.com> Content-Type: text/plain Date: Thu, 08 Dec 2005 23:29:22 +0100 Message-Id: <1134080962.29437.38.camel@linuxbox> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ozk@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=1.5 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00, RCVD_IN_SORBS X-Spam-Level: * tor, 08,.12.2005 kl. 16.15 -0600, skrev Evan Langlois: > On Thu, 2005-12-08 at 22:59 +0100, Arnaud BERCEGEAY wrote: > > > My point is that the particular WM_REPOSED message (or 'extended' > > WM_SIZED message) is not a 'window option', that's why i don't like that > > much the usage of wind_set() for this particular feature. > > Extended? > > XaAES sends all window coordinates as part of WM_SIZED no matter what > right? XaAES sends new X/Y (and keeps W,H as was) when sending WM_MOVED (because per definition MOVE means exactly that, and thus W/H should not change), and sends new W/H, keeping same X/Y for WM_SIZED. Why? Because per definition SIZED means window was resized, not MOVED. To catch the situation where both coordinate pairs (X/Y AND W/H) actually CHANGED, WM_REPOSED was invented. Lets not give new meanings to ancient stuff, please. The W/H in WM_MOVED are for convenience only, not expected to change. X/Y in WM_SIZED are also for convenience only, not expect those to change. Its in the goddamned name of the goddamned messages!!!! Odd Skancke