xklavier_private.h Source File

Main Page Compound List File List Compound Members File Members

# xklavier_private.h

    00001 #ifndef __XKLAVIER_PRIVATE_H__
    00002 #define __XKLAVIER_PRIVATE_H__
    00003
    00004 extern void _XklGetRealState( XklState * curState_return );
    00005 extern void _XklAddAppWindow( Window win, Window parent, Bool force,
    00006                               XklState * initState );
    00007 extern Bool _XklGetAppWindowBottomToTop( Window win, Window * appWin_return );
    00008 extern Bool _XklGetAppWindow( Window win, Window * appWin_return );
    00009
    00010 extern void _XklStdXkbHandler( int grp, Bool setGroup, unsigned inds,
    00011                                Bool setInds );
    00012 extern void _XklXkbEvHandler( XkbEvent * kev );
    00013 extern void _XklFocusInEvHandler( XFocusChangeEvent * fev );
    00014 extern void _XklFocusOutEvHandler( XFocusChangeEvent * fev );
    00015 extern void _XklPropertyEvHandler( XPropertyEvent * rev );
    00016 extern void _XklCreateEvHandler( XCreateWindowEvent * cev );
    00017
    00018 extern void _XklErrHandler( Display * dpy, XErrorEvent * evt );
    00019
    00020 extern Window _XklGetRegisteredParent( Window win );
    00021 extern Bool _XklLoadInfo( void );
    00022 extern void _XklFreeInfo( void );
    00023 extern Bool _XklLoadWindowTree( void );
    00024 extern Bool _XklLoadSubtree( Window window, int level, XklState * initState );
    00025
    00026 extern Bool _XklHasWmState( Window win );
    00027
    00028 extern Bool _XklGetAppState( Window appWin, XklState * state_return );
    00029 extern void _XklDelAppState( Window appWin );
    00030 extern void _XklSaveAppState( Window appWin, XklState * state );
    00031
    00032 extern void _XklSelectInput( Window win, long mask );
    00033
    00034 extern char *_XklGetDebugWindowTitle( Window win );
    00035
    00036 extern Status _XklStatusQueryTree( Display * display,
    00037                                    Window w,
    00038                                    Window * root_return,
    00039                                    Window * parent_return,
    00040                                    Window ** children_return,
    00041                                    signed int *nchildren_return );
    00042
    00043 extern Bool _XklSetIndicator( int indicatorNum, Bool set );
    00044
    00045 extern void _XklTryCallStateCallback( XklState * oldState );
    00046
    00047
    00048
    00049 extern Display *_xklDpy;
    00050
    00051 extern XkbDescPtr _xklXkb;
    00052
    00053 extern XklState _xklCurState;
    00054
    00055 extern Window _xklCurClient;
    00056
    00057 extern Status _xklLastErrorCode;
    00058
    00059 extern const char *_xklLastErrorMsg;
    00060
    00061 extern XErrorHandler _xklDefaultErrHandler;
    00062
    00063 extern char *_xklIndicatorNames[];
    00064
    00065 #define ForPhysIndicators( i, bit ) \
    00066     for ( i=0, bit=1; i<XkbNumIndicators; i++, bit<<=1 ) \
    00067           if ( _xklXkb->indicators->phys_indicators & bit )
    00068
    00069 extern int _xklXkbEventType, _xklXkbError;
    00070
    00071 #define WM_NAME 0
    00072 #define WM_STATE 1
    00073 #define XKLAVIER_STATE 2
    00074
    00075 extern Atom _xklAtoms[];
    00076
    00077 extern void XklI18NInit(  );
    00078
    00079 extern char *XklLocaleFromUtf8( const char *utf8string );
    00080
    00081 extern int XklGetLanguagePriority( const char *language );
    00082
    00083 #endif