From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 15:51:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1145C6F for ; Mon, 10 Jun 2013 15:51:38 +0000 (UTC) (envelope-from web@umich.edu) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id D28121FCE for ; Mon, 10 Jun 2013 15:51:37 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id l20so6222010oag.9 for ; Mon, 10 Jun 2013 08:51:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent:x-gm-message-state; bh=OO1k+X3FR+5m8Z+zz3AylNcffzjeXydTwHvEoMzRB8E=; b=VsgxILL76/CGQsF7ymWXgaUvfAnBYICRfcB9/5D1a+hgOgKTY/1K9KDWVOa5viiDn+ HtPMrM4JsSKWKB4gprG6t31ac8fCWnzqidjr8Ud+HKTDOSJlO6EeoZX0ynfhDQouB+4f DDwztKnawDcUZk1SUFHUn/+LH4qZjSR8i+n1eld+or/4rHSQjMaxaSK0FePRz0QZUQQn I5R5JCdEsuSzuwaWPhteWKFZuMBBZIfjd62VKOTtB27/Y6tXzMjJV75UzeIyXl6PaqJo f99G/gOPKULcM0ly5rdG5tTPOo10y7S4KwhMDTNedCkVGQzgT/AtQTE0vuUUGWOWwNfK hkCg== X-Received: by 10.60.97.34 with SMTP id dx2mr7690403oeb.9.1370879497231; Mon, 10 Jun 2013 08:51:37 -0700 (PDT) Received: from localhost (itcom245.staff.itd.umich.edu. [141.213.135.249]) by mx.google.com with ESMTPSA id oe10sm23015224oeb.6.2013.06.10.08.51.36 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Jun 2013 08:51:36 -0700 (PDT) Date: Mon, 10 Jun 2013 11:51:35 -0400 From: William Bulley To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-www@FreeBSD.org Subject: [SOLVED] Re: www/179397: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! Message-ID: <20130610155135.GA7104@itcom245.staff.itd.umich.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmCKgWpeV6WyW+1nVoQt/9ro2xSRsLqTGS3OA6hgjAmgYBsGtSJDy+fGYzZL2928AbLhdq8 Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 15:51:38 -0000 According to FreeBSD-gnats-submit@FreeBSD.org on Fri, 06/07/13 at 06:40: > Thank you very much for your problem report. > It has the internal identification `www/179397'. > The individual assigned to look at your > report is: freebsd-www. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=179397 > > >Category: www > >Responsible: freebsd-www > >Synopsis: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! > >Arrival-Date: Fri Jun 07 10:40:00 UTC 2013 I may be one of the few people left who use x11-toolkits/open-motif on the FreeBSD desktop, but be that as it may, there is a bug that needs to be fixed in the /usr/ports/x11-servers/xorg-server/files/ directory. In May 2013 this directory included this file: -rw-r--r-- 1 root wheel 3487 May 2 13:08 extra-dix_events.c I upgraded my ports on a nearly identical system on May 23 and again on June 5th of 2013: unix% ll /usr/ports/x11-servers/xorg-server/files/ total 40 drwxr-xr-x 2 root wheel 1024 Jun 5 11:20 . drwxr-xr-x 4 root wheel 512 Jun 5 12:06 .. -rw-r--r-- 1 root wheel 402 Jun 5 11:20 extra-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c -rw-r--r-- 1 root wheel 350 Jun 5 11:20 extra-Xserver-os-xprintf.c -rw-r--r-- 1 root wheel 5536 May 23 12:19 extra-arch-ia64 -rw-r--r-- 1 root wheel 438 May 23 12:19 extra-arch-powerpc -rw-r--r-- 1 root wheel 2467 Jun 5 11:20 extra-clang -rw-r--r-- 1 root wheel 799 May 23 12:19 extra-include_eventstr.h -rw-r--r-- 1 root wheel 493 Jun 5 11:20 extra-new-arch-i386 -rw-r--r-- 1 root wheel 511 Jun 5 11:20 extra-old-arch-i386 -rw-r--r-- 1 root wheel 645 Jun 5 11:20 extra-os-utils.c -rw-r--r-- 1 root wheel 320 Jun 5 11:20 extra-servermd.h -rw-r--r-- 1 root wheel 384 May 23 12:19 patch-Xserver-hw-xfree86-common-xf86Config.c -rw-r--r-- 1 root wheel 469 May 23 12:19 patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c -rw-r--r-- 1 root wheel 471 May 23 12:19 patch-xorgconf.cpp -rw-r--r-- 1 root wheel 155 May 23 12:19 pkg-deinstall.in -rw-r--r-- 1 root wheel 551 May 23 12:19 pkg-install.in The lack of the extra-dix_events.c patch file caused using my three button USB mouse with x11-toolkits/open-motif to fail. Note: all ports were rebuilt on Jun 5th after running "svn update /usr/ports" from within /usr/ports. Once the mouse failed, all I could do was CTRL-ALT-BS and revert to virtual terminals - not a very good desktop substitute. It turns out that the last patch segment of extra-dix_events.c was omitted (along with the entire patch file itself): @@ -3632,7 +3583,8 @@ CheckPassiveGrabsOnWindow( { FixUpEventFromWindow(device, xE, grab->window, None, TRUE); - TryClientEvents(rClient(grab), device, xE, count, mask, + TryClientEvents(rClient(grab), device, xE, count, + GetEventFilter(device, xE), GetEventFilter(device, xE), grab); } The lack of this last patch segment was the cause of my problems with mwm (part of the x11-toolkits/open-motif port) but it did not impact other window managers such as FVWM which may be why this patch was overlooked. Regards, web... -- William Bulley Email: web@umich.edu 72 characters width template ----------------------------------------->|