[comp.windows.x] XGrabButton conflicts

klee@daisy.UUCP (Ken Lee) (02/07/89)

Some window managers, such as TWM, can grab mouse buttons inside client
windows for their own uses, such as bringing up window manager popup
menus.  Unfortunately, clients may also wish to grab the mouse buttons
for their own use, such as their own popup menus.  Is there any way for
the client and window manager to negotiate this?  It doesn't seem to be
addressed in either the old or new ICCCM drafts.

According to the X11R3 manual, the client is not immediately notified of
a conflicting grab, as it is with XGrabPointer.  Instead, the client must
wait for an asynchronous BadAccess error and recover through an error
handler.  Is there any way to get immediate notification?

Thanks much for any input.

Ken Lee
-- 
klee@daisy.uucp
Daisy Systems Corp., Interactive Graphics Tools Dept.