Mercurial > emacs
view oldXMenu/SetFrz.c @ 83050:85e5a786f728
Don't delete a tty if it's the last device with frames.
src/term.c (delete_tty): Signal an error if this is the last display
with live frames. Reported by Dan Nicolaescu.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-90
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 20 Feb 2004 17:51:35 +0000 |
parents | f0eb34e60705 |
children | 8e5779acd195 |
line wrap: on
line source
#include "copyright.h" /* $Header: /cvsroot/emacs/emacs/oldXMenu/SetFrz.c,v 1.2 2003/09/01 15:45:47 miles Exp $ */ /* Copyright Massachusetts Institute of Technology 1985 */ /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuSetFreeze - Forcibly set the menu freeze mode switch * overriding the Xdefaults setting. * This is necessary in some situations. * * Author: Tony Della Fera, DEC * January 29, 1986 * */ #include "XMenuInt.h" XMenuSetFreeze(menu, freeze) register XMenu *menu; /* Menu object to be modified. */ register int freeze; /* Freeze mode? */ { /* * Set the freeze mode switch. */ menu->freeze = freeze; } /* arch-tag: 69c5670b-3a46-4c78-8fdb-305936d79772 (do not change this comment) */