]> git.pld-linux.org Git - packages/Xaw3d.git/commitdiff
- taken from openSUSE
authorKacper Kornet <draenog@pld-linux.org>
Mon, 26 Apr 2010 06:30:46 +0000 (06:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Xaw3d-close-detroy-crash.patch -> 1.1

Xaw3d-close-detroy-crash.patch [new file with mode: 0644]

diff --git a/Xaw3d-close-detroy-crash.patch b/Xaw3d-close-detroy-crash.patch
new file mode 100644 (file)
index 0000000..eea4569
--- /dev/null
@@ -0,0 +1,16 @@
+--- xc/lib/Xaw3d/XawIm.c~      1998-04-21 14:42:02.000000000 +0100
++++ xc/lib/Xaw3d/XawIm.c       2010-04-26 07:04:49.359519700 +0100
+@@ -331,12 +331,12 @@
+     /*
+      * Close Input Method
+      */
+-    CloseIM(ve);
+     if (!XFindContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext,
+                     (XPointer*)&contextErrData)) {
+       if (contextErrData) XtFree((char *)contextErrData);
+     }
+     XDeleteContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext);
++    CloseIM(ve);
+     ve->im.xim = NULL;
+     /*
This page took 0.096195 seconds and 4 git commands to generate.