[comp.windows.x] xview and keyboard focus

brossard@SASUN1.EPFL.CH ("", Alain Brossard EPFL-SIC/SII) (10/23/90)

	X11R4, Sun 4/110, Sun OS4.1, Open Windows 2.0.

	(With twm)

   A- Keyboard Focus

	When using xview applications, they sometime don't give up
the keyboard focus.  I'm not sure why they "grab" it in the first
place, but in any case, xview seems to lose the "LeaveWindow"
or similar event when:
	1- the xview window is lowered below another
	2- Another window is created on top of the xview application.

    In both cases, the keyboard focus is kept by the xview application.
I would tend to think that the problem resides in xview since other
applications don't exhibit this problem.  On the other hand, maybe
twm is forgetting to send an event?

    Any known solutions?

    B- mailtool

    Mailtool often crashes when selecting the "quit window" option
in the deliver menu:

X Error:  BadWindow
  Request Major code 2 ()
  Request Minor code 0
  ResourceID 0x50006c
  Error Serial #18426
  Current Serial #18427

   It also often works, I have been unable to detect what I have
to do to make it crash.  This is using either the Open Windows 2.0
Xlib or the one from MIT.  Although at first I had feeling it was
crashing more often with the library from OW.
    
    
					Alain Brossard


Alain Brossard, Ecole Polytechnique Federale de Lausanne,
	SIC/SII, EL-Ecublens, CH-1015 Lausanne, Suisse
brossard@sasun1.epfl.ch