Problems embedding rxvt-unicode
Tuukka Kataja
stuge at xor.fi
Fri Jul 16 12:22:55 CEST 2010
Hi,
I've run into problems trying to embed rxvt-unicode (using Xembed).
Everything works fine under GNOME but under scrotwm things fall apart.
This happens while embedding both to tabbed
(http://tools.suckless.org/tabbed) and the two embedding examples in doc/
(embed and rxvt-tabbed). First, the facts:
- rxvt-unicode works normally under scrotwm when _not_ embedding.
- xterm embeds nicely under both GNOME and scrotwm.
- when embedding under scrotwm, all rxvt-unicode windows show up (the
"toplevel" window, the vt-window and the scrollbar). rxvt-unicode also
functions normally, apart from the fact that no text is output. That is,
(blindly) entered commands are executed, the scrolling can be done etc.
But no visual output apart from the scrollbar.
The first two facts indicate in my mind that scrotwm isn't (at least
entirely) to blame.
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. 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).
- Tuukka
More information about the rxvt-unicode
mailing list