Re: [Sawfish] keymap resets for window / sharing input with window group |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [Sawfish] keymap resets for window / sharing input with window group
- From: Teika Kazura <teika@xxxxxxxxxxx>
- Date: Fri, 04 May 2012 22:20:00 +0900 (JST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=CWf6i1wkvSgsqxpJJBs3f1675MFTGmtSBiAariGeXE7ugsQxLEihoGpNrd+sKPJ8rpO/Efy8Q2JD8f8RVtwKhduAFAKn9f8OhaPH8oNPEMickzO0BAth3+btEzHm9UzGBz6gnOYaMFn2F+E9iGv6BBW89DpmrG/zz/X1Qflmzdw=; h=Date:Message-Id:To:Subject:From:In-Reply-To:References:Mime-Version:Content-Type:Content-Transfer-Encoding;
Hi, Julio. I'm Teika, a retired developer of Sawfish.
If your window group consists of a window class, then you can
use "window rules". Read KEYBIDINGS in the source tarball.
If not, it's a bit complicated, but try
(ungrab-keymap your-keymap)
(grab-keymap your-keymap)
Explanation: I don't remember the exact mechanism, but setting the
keymap by window-put is not sufficient (sorry, undocumented). What
window-put does is a pure lisp matter, but you have to register keys
in X. If you want to read the source ;-), see KEYBINDING, src/keys.c,
wm.keymap.
Regards,
Teika (Teika kazura)
--
Sawfish ML