From 44f1d87ca93fe43f15f30b19704549c26b550c99 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 10 Feb 2010 01:23:05 +0000 Subject: preserve labels after an edit action is aborted; extending the menu struct just for this is the least intrusive approach until the menu code is reviewed. inspired by Thomas Pfaff's report on tech@ ok oga@ --- calmwm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 565c379..4898f2c 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.h,v 1.115 2010/01/27 03:04:50 okan Exp $ + * $Id: calmwm.h,v 1.116 2010/02/10 01:23:05 okan Exp $ */ #ifndef _CALMWM_H_ @@ -320,6 +320,7 @@ struct menu { char print[MENU_MAXENTRY + 1]; void *ctx; short dummy; + short abort; }; TAILQ_HEAD(menu_q, menu); -- cgit v1.2.3-2-gb3c3