Mercurial > hg > xemacs-beta
diff lisp/x11/x-menubar.el @ 171:929b76928fce r20-3b12
Import from CVS: tag r20-3b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:47:52 +0200 |
parents | 15872534500d |
children | 9ad43877534d |
line wrap: on
line diff
--- a/lisp/x11/x-menubar.el Mon Aug 13 09:47:00 2007 +0200 +++ b/lisp/x11/x-menubar.el Mon Aug 13 09:47:52 2007 +0200 @@ -779,7 +779,7 @@ (aset item 2 (not (not (or buffer-file-name revert-buffer-function))))) (and (string= "Delete Frame" name) - (aset item 2 (not (eq (next-frame) (selected-frame))))) + (aset item 2 (device-or-frame-p (second (frame-list))))) ))) result))