WmWinList.h 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  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)
  10. * any later version.
  11. *
  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
  16. * details.
  17. *
  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
  22. */
  23. /*
  24. * (c) Copyright 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
  25. * ALL RIGHTS RESERVED
  26. */
  27. /*
  28. * Motif Release 1.2.3
  29. */
  30. /*
  31. * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
  32. extern void AddClientToList (WmWorkspaceData *pWS, ClientData *pCD,
  33. Boolean onTop);
  34. extern void AddEntryToList (WmWorkspaceData *pWS, ClientListEntry *pEntry,
  35. Boolean onTop, ClientListEntry *pStackEntry);
  36. extern void AddTransient (WmWorkspaceData *pWS, ClientData *pCD);
  37. extern Boolean BumpPrimaryToBottom (ClientData *pcdLeader);
  38. extern Boolean BumpPrimaryToTop (ClientData *pcdLeader);
  39. extern Boolean CheckIfClientObscuredByAny (ClientData *pcd);
  40. extern Boolean CheckIfClientObscuring (ClientData *pcdTop, ClientData *pcd);
  41. extern Boolean CheckIfClientObscuringAny (ClientData *pcd);
  42. extern Boolean CheckIfObscuring (ClientData *pcdA, ClientData *pcdB);
  43. extern int CountTransientChildren (ClientData *pcd);
  44. extern void DeleteClientFromList (WmWorkspaceData *pWS, ClientData *pCD);
  45. extern void DeleteEntryFromList (WmWorkspaceData *pWS,
  46. ClientListEntry *pListEntry);
  47. extern void DeleteFullAppModalChildren (ClientData *pcdLeader,
  48. ClientData *pCD);
  49. extern void DeleteTransient (ClientData *pCD);
  50. extern ClientListEntry *FindClientNameMatch (ClientListEntry *pEntry,
  51. Boolean toNext,
  52. String clientName,
  53. unsigned long types);
  54. extern ClientData *FindSubLeaderToTop (ClientData *pcd);
  55. extern ClientData *FindTransientFocus (ClientData *pcd);
  56. extern ClientData *FindTransientOnTop (ClientData *pcd);
  57. extern ClientData *FindTransientTreeLeader (ClientData *pcd);
  58. extern void FixupFullAppModalCounts (ClientData *pcdLeader,
  59. ClientData *pcdDelete);
  60. extern Boolean LeaderOnTop (ClientData *pcdLeader);
  61. extern Window LowestWindowInTransientFamily (ClientData *pcdLeader);
  62. extern void MakeTransientFamilyStackingList (Window *windows,
  63. ClientData *pcdLeader);
  64. extern Window *MakeTransientWindowList (Window *windows, ClientData *pcd);
  65. extern void MarkModalSubtree (ClientData *pcdTree, ClientData *pcdAvoid);
  66. extern void MarkModalTransient (ClientData *pcdLeader, ClientData *pCD);
  67. extern void MoveEntryInList (WmWorkspaceData *pWS, ClientListEntry *pEntry,
  68. Boolean onTop, ClientListEntry *pStackEntry);
  69. extern Boolean NormalizeTransientTreeStacking (ClientData *pcdLeader);
  70. extern Boolean PutTransientBelowSiblings (ClientData *pcd);
  71. extern Boolean PutTransientOnTop (ClientData *pcd);
  72. extern void RestackTransients (ClientData *pcd);
  73. extern void RestackTransientsAtWindow (ClientData *pcd);
  74. extern void SetupSystemModalState (ClientData *pCD);
  75. extern void StackTransientWindow (ClientData *pcd);
  76. extern void StackWindow (WmWorkspaceData *pWS, ClientListEntry *pEntry,
  77. Boolean onTop, ClientListEntry *pStackEntry);
  78. extern void UnMarkModalTransient (ClientData *pcdModee, int modalCount,
  79. ClientData *pcdModal);
  80. extern void UndoSystemModalState (void);