Due to a documented bug in xorg-server 1.7.5 (https://bugs.freedesktop.org/show_bug.cgi?id=25400), motif applications that use XmCreatePopupMenu can seize the mouse cursor and not let go. The port math/grace is one such program. In Debian, maintainers have come up with a patch to work around the broken X server behavior. The behavior is documented in: https://bugs.launchpad.net/ubuntu/+source/grace/+bug/552681 Fix: The Debian maintainers of the grace package have come up with a patch: http://patch-tracker.debian.org/patch/series/view/grace/1:5.1.22-5/motiflockup.diff I have attached a version of this patch suitable for dropping directly into the ports/math/grace/files directory. With this patch, xmgrace no longer grabs the cursor on right-click. Patch attached with submission follows: How-To-Repeat: Install Xorg-server 1.7.5,1 (current in ports as of 6 May 2010) Install math/grace Start xmgrace Choose "Data Set Operations" under the data menu. Right-click in the scroll box under "Data Sets." The mouse cursor will now be confined to the bounds of the box, with no way to release it other than to kill xmgrace in a separate terminal (virtual terminal or remote login, as the X display will now be useless).
State Changed From-To: open->closed Committed. Thanks!
miwi 2010-06-05 19:29:56 UTC FreeBSD ports repository Modified files: math/grace Makefile Added files: math/grace/files patch-src-motifutils.c Log: - Fix seizes mouse cursor on right-click with Xorg-server 1.7.5 PR: 146383 Submitted by: Tom Russo <russo@bogodyn.org> Revision Changes Path 1.61 +1 -1 ports/math/grace/Makefile 1.1 +39 -0 ports/math/grace/files/patch-src-motifutils.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"