[PATCH] Clean xterm title restore

Adam Byrtek 'alpha' alpha at student.uci.agh.edu.pl
Mon Jan 20 01:48:58 UTC 2003


On Mon, Jan 20, 2003 at 01:05:51AM +0100, Thomas Zajic wrote:
> Works fine here (finally no delays on startup :-), except one thing:
> it fails to (save and?) restore the original xterm title on remote
> connections when quitting mc.

I don't have access to a remote xserver, so could you try to debug it?
First of all you should check:

- is the WINDOWID env variable set, try xprop -id $WINDOWID and check
if it gives you info about your xterm (the title is in WM_NAME)

- what does OpenDisplay return, use gdb to step fetch_xterm_title
function in main.c

Regards

-- 

  _.|._ |_  _.    : Adam Byrtek, alpha@(irc.pl|debian.org)
 (_|||_)| |(_|    : gg 1802819, pgp 0xB25952C0
     |            : jid alpha.pl(at)jabber.org



More information about the mc-devel mailing list