This has been reported before and is relatively easy to fix.
2001-01-12 Andy Piper <andy(a)xemacs.org>
* gui.el (gui-button-action): new function. Make button's domain
buffer current when calling.
(make-gui-button): update to use gui-button-action.
andy
At 15:49 11/01/01 -0500, John A. Turner wrote:
ok, here's another focus-related customize problem - recipe:
1. xemacs -vanilla
2. load up a few dired buffers
3. split the window, i.e. C-x 2
4. go to the other window and do M-x customize-face buffers-tab RET
5. change something (foreground color, whatever)
6. click Set
at this point the buffer-tabs show "*Customize Face: ...*, so click in the
non-customize window so to see the changes
7. now click Done in the customize buffer -> oops! the dired buffer, which
still has the point, is killed!
I realize that it might seem that now I'm arguing that the button *should*
grab focus, but what I'd really expect to happen is for the customize
buffer to go away, but focus, and point, remain where they were in the
dired buffer.
--
John A. Turner, Ph.D. Senior Research Associate
Blue Sky Studios, 44 S. Broadway, White Plains, NY 10601
http://www.blueskystudios.com/ (914) 259-6319
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd