summaryrefslogtreecommitdiff
path: root/src/TMgrab.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:42 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:42 +0000
commita6bdd56c5b098599942e4091ae7e2af2d4631b44 (patch)
treee0a23167aca0fb1127f4cd78edf458b633b31eac /src/TMgrab.c
parent6a13c9e08bb042c81ae904c44a38a50d785c824e (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/TMgrab.c')
-rw-r--r--src/TMgrab.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/TMgrab.c b/src/TMgrab.c
index e2a56e8..9257293 100644
--- a/src/TMgrab.c
+++ b/src/TMgrab.c
@@ -58,6 +58,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/Xt/TMgrab.c,v 1.3 2001/12/14 19:56:30 dawes Exp $ */
/*LINTLIBRARY*/
#include "IntrinsicI.h"
@@ -72,11 +73,11 @@ typedef struct _GrabActionRec {
static GrabActionRec *grabActionList = NULL;
-static void GrabAllCorrectKeys(widget, typeMatch, modMatch, grabP)
- Widget widget;
- TMTypeMatch typeMatch;
- TMModifierMatch modMatch;
- GrabActionRec* grabP;
+static void GrabAllCorrectKeys(
+ Widget widget,
+ TMTypeMatch typeMatch,
+ TMModifierMatch modMatch,
+ GrabActionRec* grabP)
{
Display *dpy = XtDisplay(widget);
KeyCode *keycodes, *keycodeP;
@@ -156,9 +157,9 @@ typedef struct {
GrabActionRec *grabP;
}DoGrabRec;
-static Boolean DoGrab(state, data)
- StatePtr state;
- XtPointer data;
+static Boolean DoGrab(
+ StatePtr state,
+ XtPointer data)
{
DoGrabRec *doGrabP = (DoGrabRec *)data;
GrabActionRec* grabP = doGrabP->grabP;