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

William Bulley web at umich.edu
Mon Jun 10 15:51:38 UTC 2013


According to FreeBSD-gnats-submit at 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 at umich.edu

72 characters width template ----------------------------------------->|


More information about the freebsd-questions mailing list