Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uicsrd.csrd.uiuc.edu!bruner From: bruner@uicsrd.csrd.uiuc.edu (John Bruner) Newsgroups: comp.windows.x Subject: XtGrabButton problem Keywords: XtGrabButton Message-ID: <1990Mar21.152058.8340@ux1.cso.uiuc.edu> Date: 21 Mar 90 15:20:58 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Reply-To: bruner@uicsrd.csrd.uiuc.edu (John Bruner) Organization: CSRD, Univ. of Illinois Lines: 20 I apologize in advance for asking something which has probably been asked before. (I'm not a regular reader of this newsgroup.) If this has come up before, please respond to me by mail. The implementation of XtGrabButton in X11R4 (at least, in the one we have here at CSRD-UIUC) does not agree with the description in the Intrinsics manual. Specifically, the calling sequence is given in the manual as void XtGrabButton(widget, button, modifiers, owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor) However, the implementation in "mit/lib/Xt/PassivGrab.c" (no RCS version number on our copy, sorry) expects "event_mask" to follow "keyboard_mode" rather than preceeding "pointer_mode". This looks like an error in implementation to me, because the documented order is consistent with XGrabButton. -- John Bruner Center for Supercomputing R&D, University of Illinois bruner@uicsrd.csrd.uiuc.edu (217) 244-4476