Re: Need a synthetic ConfigureNotify clarification/extension in the spec (and I don't know what it should be)



On Mon, 01 May 2006 10:09:54 -0400 Dan Winship <danw novell com> babbled:

> 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

slight pedantics - it also requires it on resizes when it is BOTH moved AND
resized (configured). :) ie - basically when x wont generate the RIGHT
configure event for the window automatically since it's reparented, you need to
fake one to make the app feel as if its window never was reparented from root.

> 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.
> 
> -- Dan
> _______________________________________________
> 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]