Re: FVWM: Numlock + Tab key - Window Kill issue

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Wed, 12 Jun 2002 19:20:36 +0200

On Wed, Jun 12, 2002 at 03:56:17PM +0530, subbiah .L wrote:
> Hello,
>
> I am using my own Terminal Emualtor with the fvwm2 2.4.3 window manager.
> I have enabled the fvwm2 as windows 95 style window manager by using the
> Rebuild Sample 95 option.
>
> I have set Click to foucs as my style.
>
> If my Num lock key is On and if I press Tab, then my Terminal Emulator
> windows crashes and leaves this message.
>
> X Error of failed request: BadMatch (invalid parameter attributes)
> Major opcode of failed request: 42 (X_SetInputFocus)
> Serial number of failed request: 275
> Current serial number in output stream: 275
>
> I need the Num Lock. I canot disable the Num Lock key.
>
> I am using the XCreateWindow function to create the Terminal Emulator
> window.
>
> Can any one suggest me to get a solution for this problem ?.

Put

  XSynchronize(<display>, 1);

in your program, then single step through it to find out which
X call triggers the crash. This usually happens when an illegal
resource is referenced or an illegal value is passed to X. You
have to find out why this happens (e.g. the window has already
died) and take care of that situation. If all else fails, you
have to write an X error handler that filters out this error
condition.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jun 12 2002 - 12:21:07 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST