Problems embedding rxvt-unicode

Marc Lehmann schmorp at schmorp.de
Fri Jul 16 23:32:53 CEST 2010


On Fri, Jul 16, 2010 at 01:22:55PM +0300, Tuukka Kataja <stuge at xor.fi> wrote:

Hi, how do you embed xterm? I didn't know xterm supported Xembed (but it
might). Are you sure scrotwm is actually supporting xembed?

> I've traced the problem to rxvt-unicode not receiving a MapNotify event
> when being embedded under scrotwm. Therefore, the "mapped" member of
> TermWin_t isn't set to 1 (although the windows are in fact mapped in X)
> and therefore no screen updates occur.
> 
> Do correct me if I'm wrong, but I'm not sure that rxvt-unicode should
> expect to get MapNotify events when being embedded.

Why not? MapNotify is a badic function of the X protocol - if scrotwm
override-redirects embedded windows and keeps vital events from them, then
it's broken.

> 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).

If rxvt-unicode calls mapwindow, and the wm makes it visible, then
rxvt-unicode is entitled to know about that.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\




More information about the rxvt-unicode mailing list