summaryrefslogtreecommitdiff
path: root/x11/Xbae/patches/patch-ab
blob: 056da91afdc9466935fd5b0e22a64faa897bbdcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.3 2005/02/20 13:53:02 wiz Exp $

--- src/Matrix.c.orig	Wed Dec  8 20:11:39 2004
+++ src/Matrix.c
@@ -3023,6 +3023,7 @@ static void TraverseInTimeOut(XtPointer 
  */
 static void TraverseInCB(Widget clip, XbaeMatrixWidget mw, XtPointer call_data)
 {
+        Boolean mapped;
         DEBUGOUT(_XbaeDebug2(__FILE__, (Widget) mw, clip, "TraverseInCB\n"));
 
         /*
@@ -3031,7 +3032,6 @@ static void TraverseInCB(Widget clip, Xb
          * are disallowed in 1.2 (we may be in this CB as a result of someone
          * calling XmProcessTraversal).  So we call it through a zero length timeout
          */
-        Boolean mapped;
         XtVaGetValues(TextChild(mw), XmNmappedWhenManaged, &mapped, NULL);
 
         if (mapped) {