blob: 4ec6b4298056e0850b1d91a4cc106de27ffa040d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-bs,v 1.2 2008/04/05 21:29:14 kristerw Exp $
--- src/xmenu.c.orig 1998-12-28 23:15:47.000000000 +0100
+++ src/xmenu.c 2008-04-02 22:40:18.000000000 +0200
@@ -35,6 +35,7 @@
#include <config.h>
#include <stdio.h>
+#include <stdlib.h>
#include "lisp.h"
#include "termhooks.h"
#include "frame.h"
@@ -1500,7 +1501,7 @@
{
XtManageChild (x->menubar_widget);
XtMapWidget (x->menubar_widget);
- XtVaSetValues (x->menubar_widget, XtNmappedWhenManaged, 1, 0);
+ XtVaSetValues (x->menubar_widget, XtNmappedWhenManaged, 1, NULL);
}
/* Re-manage the text-area widget, and then thrash the sizes. */
|