[gs-bugs] [Bug 691846] [patch] mupdf 0.7 does not handle WM_DELETE_WINDOW messages on X11

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Feb 3 06:17:57 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=691846

Daniel Dutkiewicz <dsdutkiewicz at msn.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |dsdutkiewicz at msn.com
         Resolution|FIXED                       |

--- Comment #1 from Daniel Dutkiewicz <dsdutkiewicz at msn.com> 2011-02-03 06:17:54 UTC ---
@@ -740,11 +740,11 @@ int main(int argc, char **argv)
                     xevt.xselectionrequest.property,
                     xevt.xselectionrequest.time);
                 break;

             case ClientMessage:
-                if (xevt.xclient.format == 33 && xevt.xclient.data.l[0] ==
WM_DELETE_WINDOW)
+                if (xevt.xclient.format == 32 && xevt.xclient.data.l[0] ==
WM_DELETE_WINDOW)
                     closing = 1;
                 break;
             }
         }
         while (!closing && XPending(xdpy));

--

it's needs to be format "32" not "33". i've tested both and only 32 works this
is what is stated in the forereferenced patch but the patch tor added says 33

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list