[comp.windows.x] xlock -- trouble invoking

kaul@icarus.eng.ohio-state.edu (Rich Kaul) (01/11/90)

I've been having trouble getting xlock to compile and work on my
system and was wondering if anyone could offer any help.  The system
is a Sun 3/260 running SunOS 4.0.3, X.V11R4 compiled with gcc v1.35.
Xlock blanks the screen and then fails with the following error:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  26 (X_GrabPointer)
  Minor opcode of failed request:  0
  Resource id in failed request:  0xffff
  Serial number of failed request:  32
  Current serial number in output stream:  32

Can anyone tell me what is going?

-rich

ps.  Thanks for this distribution!  It's fast, compiled cleanly and
the feel is very nice.
-=-
Rich Kaul                         | "Horse sense is what keeps horses from
kaul@icarus.eng.ohio-state.edu    |  betting on what people will do."
or ...!osu-cs!kaul		  |  			-Damon  Runyon

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (01/11/90)

    Xlock blanks the screen and then fails with the following error:
    X Error of failed request:  BadValue (integer parameter out of range for operation)
      Major opcode of failed request:  26 (X_GrabPointer)

xlock is passing an invalid event-mask in XGrabPointer.  If you don't
want to fix the source (wasn't this discussed on xpert just before R4
went out?), use "xset bc" to work around it (this has also been
discussed before).