[comp.windows.x] Avoiding implicit pointer grabs

jimg@APOLLO.COM (10/25/89)

Here's a short question for the protocol/input experts.

According to the X11 spec, if button presses are routed normally to a client,
the server grabs the pointer implicitly on behalf of that client. Suppose
there are clients that don't want the pointer to be grabbed when they receive
button events. (They can always ungrab after the fact, but they would rather
that the grab didn't happen at all.) What can be done for these clients? One
idea is to provide a new kind of ButtonPress (or to modify the old kind) such
that the pointer is not grabbed when this event is routed. Can this be done
without a protocol change? How?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Jim Glading                       UUCP:     {mit-eddie,yale,uw-beaver}!apollo!jimg
 Hewlett-Packard GTD/East          Internet: jimg@apollo.hp.com
 Chelmsford, MA 01824              Phone:    (508) 256-6600 Fax: (508) 250-4937

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (10/25/89)

    Suppose
    there are clients that don't want the pointer to be grabbed when they receive
    button events.

They're out of luck.

    Can this be done without a protocol change?

Nope.