Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2013 16:00:01 GMT
From:      William Bulley <web@umich.edu>
To:        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:  <201306101600.r5AG01cE057303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR www/179397; it has been noted by GNATS.

From: William Bulley <web@umich.edu>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-www@FreeBSD.org
Cc: freebsd-questions@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!
Date: Mon, 10 Jun 2013 11:51:35 -0400

 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 ----------------------------------------->|



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306101600.r5AG01cE057303>