mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Add XfeIsPrivateComponent().
Test whether a widget is a private component of an XfeManager parent.
This commit is contained in:
parent
1ce33d0f6f
commit
b49bcefbdc
@ -633,3 +633,17 @@ XfeEventGetModifiers(XEvent * event)
|
||||
return 0;
|
||||
}
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
/* */
|
||||
/* Test whether a widget is a private component of an XfeManager parent */
|
||||
/* */
|
||||
/*----------------------------------------------------------------------*/
|
||||
/* extern */ Boolean
|
||||
XfeIsPrivateComponent(Widget w)
|
||||
{
|
||||
return (XfeIsManager(_XfeParent(w)) &&
|
||||
_XfeManagerPrivateComponent(w));
|
||||
}
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
@ -417,6 +417,14 @@ extern Modifiers
|
||||
XfeEventGetModifiers (XEvent * event);
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
/* */
|
||||
/* Test whether a widget is a private component of an XfeManager parent */
|
||||
/* */
|
||||
/*----------------------------------------------------------------------*/
|
||||
extern Boolean XfeIsPrivateComponent (Widget w);
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#ifdef __cplusplus /* end C++ */
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user