Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/X11
File: PassivGraI.h
/********************************************************
[0] Fix | Delete
[1] Fix | Delete
Copyright 1988 by Hewlett-Packard Company
[2] Fix | Delete
Copyright 1987, 1988, 1989 by Digital Equipment Corporation, Maynard
[3] Fix | Delete
[4] Fix | Delete
Permission to use, copy, modify, and distribute this software
[5] Fix | Delete
and its documentation for any purpose and without fee is hereby
[6] Fix | Delete
granted, provided that the above copyright notice appear in all
[7] Fix | Delete
copies and that both that copyright notice and this permission
[8] Fix | Delete
notice appear in supporting documentation, and that the names of
[9] Fix | Delete
Hewlett-Packard or Digital not be used in advertising or
[10] Fix | Delete
publicity pertaining to distribution of the software without specific,
[11] Fix | Delete
written prior permission.
[12] Fix | Delete
[13] Fix | Delete
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
[14] Fix | Delete
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
[15] Fix | Delete
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
[16] Fix | Delete
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
[17] Fix | Delete
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
[18] Fix | Delete
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
[19] Fix | Delete
SOFTWARE.
[20] Fix | Delete
[21] Fix | Delete
********************************************************/
[22] Fix | Delete
[23] Fix | Delete
/*
[24] Fix | Delete
[25] Fix | Delete
Copyright 1987, 1988, 1989, 1998 The Open Group
[26] Fix | Delete
[27] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[28] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[29] Fix | Delete
the above copyright notice appear in all copies and that both that
[30] Fix | Delete
copyright notice and this permission notice appear in supporting
[31] Fix | Delete
documentation.
[32] Fix | Delete
[33] Fix | Delete
The above copyright notice and this permission notice shall be included in
[34] Fix | Delete
all copies or substantial portions of the Software.
[35] Fix | Delete
[36] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
[37] Fix | Delete
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
[38] Fix | Delete
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
[39] Fix | Delete
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
[40] Fix | Delete
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
[41] Fix | Delete
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[42] Fix | Delete
[43] Fix | Delete
Except as contained in this notice, the name of The Open Group shall not be
[44] Fix | Delete
used in advertising or otherwise to promote the sale, use or other dealings
[45] Fix | Delete
in this Software without prior written authorization from The Open Group.
[46] Fix | Delete
[47] Fix | Delete
*/
[48] Fix | Delete
[49] Fix | Delete
#ifndef _PDI_h_
[50] Fix | Delete
#define _PDI_h_
[51] Fix | Delete
[52] Fix | Delete
[53] Fix | Delete
#define KEYBOARD TRUE
[54] Fix | Delete
#define POINTER FALSE
[55] Fix | Delete
[56] Fix | Delete
_XFUNCPROTOBEGIN
[57] Fix | Delete
[58] Fix | Delete
typedef enum {
[59] Fix | Delete
XtNoServerGrab,
[60] Fix | Delete
XtPassiveServerGrab,
[61] Fix | Delete
XtActiveServerGrab,
[62] Fix | Delete
XtPseudoPassiveServerGrab,
[63] Fix | Delete
XtPseudoActiveServerGrab
[64] Fix | Delete
}XtServerGrabType;
[65] Fix | Delete
[66] Fix | Delete
typedef struct _XtServerGrabRec {
[67] Fix | Delete
struct _XtServerGrabRec *next;
[68] Fix | Delete
Widget widget;
[69] Fix | Delete
unsigned int ownerEvents:1;
[70] Fix | Delete
unsigned int pointerMode:1;
[71] Fix | Delete
unsigned int keyboardMode:1;
[72] Fix | Delete
unsigned int hasExt:1;
[73] Fix | Delete
unsigned int confineToIsWidgetWin:1;
[74] Fix | Delete
KeyCode keybut;
[75] Fix | Delete
unsigned short modifiers;
[76] Fix | Delete
unsigned short eventMask;
[77] Fix | Delete
} XtServerGrabRec, *XtServerGrabPtr;
[78] Fix | Delete
[79] Fix | Delete
typedef struct _XtGrabExtRec {
[80] Fix | Delete
Mask *pKeyButMask;
[81] Fix | Delete
Mask *pModifiersMask;
[82] Fix | Delete
Window confineTo;
[83] Fix | Delete
Cursor cursor;
[84] Fix | Delete
} XtServerGrabExtRec, *XtServerGrabExtPtr;
[85] Fix | Delete
[86] Fix | Delete
#define GRABEXT(p) ((XtServerGrabExtPtr)((p)+1))
[87] Fix | Delete
[88] Fix | Delete
typedef struct _XtDeviceRec{
[89] Fix | Delete
XtServerGrabRec grab; /* need copy in order to protect
[90] Fix | Delete
during grab */
[91] Fix | Delete
XtServerGrabType grabType;
[92] Fix | Delete
}XtDeviceRec, *XtDevice;
[93] Fix | Delete
[94] Fix | Delete
#define XtMyAncestor 0
[95] Fix | Delete
#define XtMyDescendant 1
[96] Fix | Delete
#define XtMyCousin 2
[97] Fix | Delete
#define XtMySelf 3
[98] Fix | Delete
#define XtUnrelated 4
[99] Fix | Delete
typedef char XtGeneology; /* do not use an enum makes PerWidgetInput larger */
[100] Fix | Delete
[101] Fix | Delete
typedef struct {
[102] Fix | Delete
Widget focusKid;
[103] Fix | Delete
XtServerGrabPtr keyList, ptrList;
[104] Fix | Delete
Widget queryEventDescendant;
[105] Fix | Delete
unsigned int map_handler_added:1;
[106] Fix | Delete
unsigned int realize_handler_added:1;
[107] Fix | Delete
unsigned int active_handler_added:1;
[108] Fix | Delete
unsigned int haveFocus:1;
[109] Fix | Delete
XtGeneology focalPoint;
[110] Fix | Delete
}XtPerWidgetInputRec, *XtPerWidgetInput;
[111] Fix | Delete
[112] Fix | Delete
typedef struct XtPerDisplayInputRec{
[113] Fix | Delete
XtGrabList grabList;
[114] Fix | Delete
XtDeviceRec keyboard, pointer;
[115] Fix | Delete
KeyCode activatingKey;
[116] Fix | Delete
Widget *trace;
[117] Fix | Delete
int traceDepth, traceMax;
[118] Fix | Delete
Widget focusWidget;
[119] Fix | Delete
}XtPerDisplayInputRec, *XtPerDisplayInput;
[120] Fix | Delete
[121] Fix | Delete
#define IsServerGrab(g) ((g == XtPassiveServerGrab) ||\
[122] Fix | Delete
(g == XtActiveServerGrab))
[123] Fix | Delete
[124] Fix | Delete
#define IsAnyGrab(g) ((g == XtPassiveServerGrab) ||\
[125] Fix | Delete
(g == XtActiveServerGrab) ||\
[126] Fix | Delete
(g == XtPseudoPassiveServerGrab))
[127] Fix | Delete
[128] Fix | Delete
#define IsEitherPassiveGrab(g) ((g == XtPassiveServerGrab) ||\
[129] Fix | Delete
(g == XtPseudoPassiveServerGrab))
[130] Fix | Delete
[131] Fix | Delete
#define IsPseudoGrab(g) ((g == XtPseudoPassiveServerGrab))
[132] Fix | Delete
[133] Fix | Delete
extern void _XtDestroyServerGrabs(
[134] Fix | Delete
Widget /* w */,
[135] Fix | Delete
XtPointer /* pwi */, /*XtPerWidgetInput*/
[136] Fix | Delete
XtPointer /* call_data */
[137] Fix | Delete
);
[138] Fix | Delete
[139] Fix | Delete
extern XtPerWidgetInput _XtGetPerWidgetInput(
[140] Fix | Delete
Widget /* widget */,
[141] Fix | Delete
_XtBoolean /* create */
[142] Fix | Delete
);
[143] Fix | Delete
[144] Fix | Delete
extern XtServerGrabPtr _XtCheckServerGrabsOnWidget(
[145] Fix | Delete
XEvent* /* event */,
[146] Fix | Delete
Widget /* widget */,
[147] Fix | Delete
_XtBoolean /* isKeyboard */
[148] Fix | Delete
);
[149] Fix | Delete
[150] Fix | Delete
/*
[151] Fix | Delete
extern XtGrabList* _XtGetGrabList( XtPerDisplayInput );
[152] Fix | Delete
*/
[153] Fix | Delete
[154] Fix | Delete
#define _XtGetGrabList(pdi) (&(pdi)->grabList)
[155] Fix | Delete
[156] Fix | Delete
extern void _XtFreePerWidgetInput(
[157] Fix | Delete
Widget /* w */,
[158] Fix | Delete
XtPerWidgetInput /* pwi */
[159] Fix | Delete
);
[160] Fix | Delete
[161] Fix | Delete
extern Widget _XtProcessKeyboardEvent(
[162] Fix | Delete
XKeyEvent* /* event */,
[163] Fix | Delete
Widget /* widget */,
[164] Fix | Delete
XtPerDisplayInput /* pdi */
[165] Fix | Delete
);
[166] Fix | Delete
[167] Fix | Delete
extern Widget _XtProcessPointerEvent(
[168] Fix | Delete
XButtonEvent* /* event */,
[169] Fix | Delete
Widget /* widget */,
[170] Fix | Delete
XtPerDisplayInput /* pdi */
[171] Fix | Delete
);
[172] Fix | Delete
[173] Fix | Delete
extern void _XtRegisterPassiveGrabs(
[174] Fix | Delete
Widget /* widget */
[175] Fix | Delete
);
[176] Fix | Delete
[177] Fix | Delete
extern void _XtClearAncestorCache(
[178] Fix | Delete
Widget /* widget */
[179] Fix | Delete
);
[180] Fix | Delete
[181] Fix | Delete
_XFUNCPROTOEND
[182] Fix | Delete
[183] Fix | Delete
#endif /* _PDI_h_ */
[184] Fix | Delete
[185] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function