Re: [Mac-emacs-devel] Patch for Mouse-wheel
Brought to you by:
akochoi
From: Steven T. <ste...@ma...> - 2002-08-05 21:02:48
|
Here is the patch to macterm.c. The main part is to try to pass non-command keyboard events to the system first and check to see if the TSM intercepted it. If so, then it ignores the event, otherwise it tries to post it to the screen. The "right thing" to do would be to accept Unicode events, but that will probably have to wait for Jaguar (but that is another email). I also tried to test the input method floating window and ran into a lot of crashes where emacs tries to treat it like another frame and crashed. Most of the bulk of the patch is using is_emacs_window() liberally and replacing FrontWindow() with FrontNonFloatingWindow(). |