Greetings all,
I'm trying out CTWM 4.1.0 (from pkgsrc) on NetBSD and I've encountered
a mysterious (to me) behaviour: CTWM will sometimes stop responding to
keyboard input after switching to an empty workspace. The simplest way
I've found to trigger it reliably is as follows:
- Start ctwm with the minimal .ctwmrc below.
- Launch sylpheed or firefox (other programs may work, those two are
the ones I've tested).
- Click on its titlebar.
- Switch to an empty workspace with mod4-2.
At this point, keybindings no longer work, e.g. you can't switch back
to the first workspace with mod4-1 (and if there are other keybindings
in ctwmrc they also get ignored). You can get back to workspace 1
using the mouse and the root menu, and once you do keybindings start
working again. Also, if you launch an xterm in the new workspace and
give it focus the keybindings start working again. Note that I'm
careful not to touch either capslock or numlock while doing these
tests, so I don't think this is a lock modifier issue. Is this a known
behaviour? Any hints as to where I should start adding printfs?
----------
$ cat .ctwmrc
NoDefaults
WorkSpaces { "1" "2" "3" }
"1" = m4 : all : f.gotoworkspace "1"
"2" = m4 : all : f.gotoworkspace "2"
"3" = m4 : all : f.gotoworkspace "3"
menu "Root"
{
"Root" f.title
"XTerm" f.exec "xterm &"
"" f.separator
"Workspaces" f.menu "TwmWorkspaces"
"" f.separator
"Restart CTWM" f.restart
"Quit" f.quit
}
Button1 = : root : f.menu "Root"
----------
Thanks for any guidance,
--
IDL