From: Greg B. <gj...@cs...> - 2002-04-24 15:13:23
|
I'd use Emacs as a guide. Try hitting something like C-c C-2 and you'll see it complain "C-c C-@" is undefined. Scwm could do that using a popup message box for a user configurable amount of time. Neither of the keystrokes get inserted into the buffer. (Just as Scwm wouldn't send either to the application.) The upshot of that is that prefix keys should be non-app keys, but that's good sense, anyway. Thanks, Greg Scott Lenser <sl...@cs...> writes: > I've been thinking about the event rewrite. I'm trying to write > up a proposed interface to binding events based on the protocol > Greg suggested in the doc/dev directory. > > I think we want to support the ability to bind key sequences > to actions. I ran into a situation that I don't know what the > right behavior should be and I'd like opinions. > > Suppose the user has bound a bunch of keys to "F1 <key>" where > they are basically using F1 as a prefix key for key events to > send to the window manager. What do you think should happen > if they type "F1 b" where this key sequence has not been bound > to anything? Should Scwm send "F1 b" to the application, send > "b" to the application, or drop the event on the floor? > Or should it do something else entirely? > > - Scott |