Re: Need a synthetic ConfigureNotify clarification/extension in the spec (and I don't know what it should be)
- From: Carsten Haitzler (The Rasterman) <raster rasterman com>
- To: Bradley T Hughes <bhughes trolltech com>
- Cc: wm-spec-list gnome org
- Subject: Re: Need a synthetic ConfigureNotify clarification/extension in the spec (and I don't know what it should be)
- Date: Tue, 2 May 2006 15:33:12 +0900
On Tue, 2 May 2006 08:15:28 +0200 Bradley T Hughes <bhughes trolltech com>
babbled:
> On Monday 01 May 2006 16:09, Dan Winship wrote:
> > Elijah Newren wrote:
> > > Bradley Hughes filed http://bugzilla.gnome.org/show_bug.cgi?id=322840
> > > about Metacity not sending a synthetic ConfigureNotify in response to
> > > windows being mapped with either the PPosition or UPosition hints. I
> > > tried reading up further to see if we had missed any other places
> > > where a ConfigureNotify should be sent, and found that while ICCCM
> > > section 4.1.5 is clear about what should happen in response to
> > > ConfigureRequest events (which we implement exactly), it does not
> > > appear to specify what should happen for MapRequests and the EWMH
> > > doesn't offer any relevant clarifications. In fact, since the ICCCM
> > > doesn't appear to require any synthetic ConfigureNotify events in
> > > response to MapRequests, it appears that Metacity's behavior is
> > > correct.
> >
> > It doesn't require synthesizing an event in response to the MapRequest
> > per se, but 4.2.3 requires a ConfigureNotify event whenever the wm moves
> > a window without resizing it. In the example program, the client creates
> > a window at 100,100, but when metacity maps it, it also moves it to
> > 101,123 to make room for the frame. So yes, I'd say you owe him a
> > ConfigureNotify.
>
> I agree (which is why I filed the bug report). And as you pointed out, Kwin,
> Blackbox, and others do exactly this, since they end up offsetting the client
> window due to gravity.
often the do it anyway even if it doesn't get offset - as it doesn't hurt most
of the time too much and ends up a nice "whenever u configure the window - send
a synthetic configure notify" path that's run all the time - regardless. :)
> --
> Bradley T. Hughes - bhughes at trolltech.com
> Trolltech AS - Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway
> _______________________________________________
> wm-spec-list mailing list
> wm-spec-list gnome org
> http://mail.gnome.org/mailman/listinfo/wm-spec-list
>
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster rasterman com
裸好多
Tokyo, Japan (東京 日本)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]