2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
31 * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
34 extern void AutoResetKeyFocus (ClientData *pcdNoFocus, Time focusTime);
35 extern void ClearFocusIndication (ClientData *pCD, Boolean refresh);
36 extern Boolean CheckForKeyFocus (ClientListEntry *pNextEntry,
37 unsigned long type, Boolean focusNext,
39 extern void DoExplicitSelectGrab (Window window);
40 extern ClientData *FindLastTransientTreeFocus (ClientData *pCD,
41 ClientData *pcdNoFocus);
42 extern ClientData *FindNextTFocusInSeq (ClientData *pCD,
43 unsigned long startAt);
44 extern ClientData *FindPrevTFocusInSeq (ClientData *pCD,
45 unsigned long startAt);
46 extern Boolean FocusNextTransient (ClientData *pCD, unsigned long type,
47 Boolean initiate, Time focusTime);
48 extern Boolean FocusNextWindow (unsigned long type, Time focusTime);
49 extern Boolean FocusPrevTransient (ClientData *pCD, unsigned long type,
50 Boolean initiate, Time focusTime);
51 extern Boolean FocusPrevWindow (unsigned long type, Time focusTime);
52 extern ClientData *GetClientUnderPointer (Boolean *pSameScreen);
53 extern void InitKeyboardFocus (void);
54 extern void RepairFocus (void);
55 extern void ResetExplicitSelectHandling (ClientData *pCD);
56 extern void SetFocusIndication (ClientData *pCD);
57 extern void SetKeyboardFocus (ClientData *pCD, long focusFlags);