From 1ddc44c1cada7e926bd4787406444ce7c36b61e1 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 27 Jul 2006 19:17:10 -0700 Subject: [PATCH] Sun bug 1149809: Document event delivery when grab is terminated. --- man/XGrabButton.man | 5 ++++- man/XGrabKey.man | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/man/XGrabButton.man b/man/XGrabButton.man index 4fe4649c..03db7c8d 100644 --- a/man/XGrabButton.man +++ b/man/XGrabButton.man @@ -220,7 +220,10 @@ The interpretation of the remaining arguments is as for .ZN XGrabPointer . The active grab is terminated automatically when the logical state of the pointer has all buttons released -(independent of the state of the logical modifier keys). +(independent of the state of the logical modifier keys), +at which point a +.ZN ButtonRelease +event is reported to the grabbing window. .LP Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen. diff --git a/man/XGrabKey.man b/man/XGrabKey.man index fef62f4a..bfe9270b 100644 --- a/man/XGrabKey.man +++ b/man/XGrabKey.man @@ -207,7 +207,10 @@ The interpretation of the remaining arguments is as for .ZN XGrabKeyboard . The active grab is terminated automatically when the logical state of the keyboard has the specified key released -(independent of the logical state of the modifier keys). +(independent of the logical state of the modifier keys), +at which point a +.ZN KeyRelease +event is reported to the grabbing window. .LP Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen.