Re: Need a synthetic ConfigureNotify clarification/extension in the spec (and I don't know what it should be)
- From: Bradley T Hughes <bhughes trolltech com>
- To: 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 08:15:28 +0200
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.
--
Bradley T. Hughes - bhughes at trolltech.com
Trolltech AS - Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]