Stripped comments from XCompose for maintenance reasons, added append symbol.
Rely on window title and cursor position to identify the active window, not borders.