Problems embedding rxvt-unicode
Tuukka Kataja
stuge at xor.fi
Fri Jul 16 12:52:14 CEST 2010
> On 16 July 2010 11:22, Tuukka Kataja <stuge at xor.fi> wrote:
>> Do correct me if I'm wrong, but I'm not sure that rxvt-unicode should
>> expect to get MapNotify events when being embedded. On the other hand
>> I'm
>> not sure why under GNOME the MapNotify is received but not under
>> scrotwm.
>> Maybe someone with more knowledge on Xlib could enlighten me (I'm
>> familiar
>> with the scrotwm source so I can go poking there if this is really
>> scrotwm's fault).
>
> You should always get a MapNotify event when the window is Reparented
> (and hence, you'll also receive an XReparentEvent). Likely what's
> happening here is that rxct-unicode isn't selecting on either
> StructureNotify or SubstructureNotify -- I have neither the time, nor
> the inclination to look to see if this the case or not.
>
> -- Thomas Adam
>
rxvt-unicode does select the StructureNotify on it's own "top" window.
Should this be done on the embedder's window (the parent of rxvt-unicode
window) as well?
Also, embedding in rxvt-unicode is done so that urxvt creates it's top
window directly as a child of the embedder's window, so no reparenting
takes place. Not sure if this make any difference.
- Tuukka
More information about the rxvt-unicode
mailing list