|
@@ -96,9 +96,9 @@ Const
|
|
|
IconPixmapHint = 1 shl 2;
|
|
|
IconWindowHint = 1 shl 3;
|
|
|
IconPositionHint = 1 shl 4;
|
|
|
- IconMaskHint = 1 shl 5;
|
|
|
+ IconMaskHint = 1 shl 6;
|
|
|
AllHints = InputHint or StateHint or IconPixmapHint or IconWindowHint or
|
|
|
- IconPositionHint or IconMaskHint {or WindowGroupHint};
|
|
|
+ IconPositionHint or IconMaskHint or WindowGroupHint;
|
|
|
XUrgencyHint = 1 shl 8;
|
|
|
{ definitions for initial window state }
|
|
|
WithdrawnState = 0; { for windows that are not mapped }
|
|
@@ -543,21 +543,12 @@ procedure XSetWMName(display: PDisplay; w: TWindow;
|
|
|
procedure XSetWMNormalHints(display: PDisplay; w: TWindow;
|
|
|
hints: PXSizeHints); cdecl; external;
|
|
|
|
|
|
-(*
|
|
|
-extern void XSetWMProperties(
|
|
|
-#if NeedFunctionPrototypes
|
|
|
- Display* { display },
|
|
|
- Window { w },
|
|
|
- XTextProperty* { window_name },
|
|
|
- XTextProperty* { icon_name },
|
|
|
- char** { argv },
|
|
|
- int { argc },
|
|
|
- XSizeHints* { normal_hints },
|
|
|
- XWMHints* { wm_hints },
|
|
|
- XClassHint* { class_hints }
|
|
|
-#endif
|
|
|
-);
|
|
|
+procedure XSetWMProperties(display: PDisplay; w: TWindow;
|
|
|
+ window_name, icon_name: PXTextProperty; argv: PPChar; argc: LongInt;
|
|
|
+ normal_hints: PXSizeHints; wm_hints: PXWMHints; class_hints: PXClassHint);
|
|
|
+ cdecl; external;
|
|
|
|
|
|
+(*
|
|
|
extern void XmbSetWMProperties(
|
|
|
#if NeedFunctionPrototypes
|
|
|
Display* { display },
|
|
@@ -697,7 +688,32 @@ Implementation
|
|
|
end.
|
|
|
{
|
|
|
$Log$
|
|
|
- Revision 1.2 2000-07-13 11:33:34 michael
|
|
|
- + removed logs
|
|
|
-
|
|
|
+ Revision 1.1.2.1 2000-12-23 22:47:09 sg
|
|
|
+ * Converted declaration of XSetWMProperties
|
|
|
+
|
|
|
+ Revision 1.1 2000/07/13 06:34:24 michael
|
|
|
+ + Initial import
|
|
|
+
|
|
|
+ Revision 1.9 2000/05/28 21:16:18 sg
|
|
|
+ * More additions...
|
|
|
+
|
|
|
+ Revision 1.8 2000/05/26 14:28:13 sg
|
|
|
+ * More functions added
|
|
|
+
|
|
|
+ Revision 1.7 2000/05/24 09:37:29 sg
|
|
|
+ * translated more X11 functions
|
|
|
+
|
|
|
+ Revision 1.6 2000/03/06 16:15:43 peter
|
|
|
+ * removed comment warnings
|
|
|
+
|
|
|
+ Revision 1.5 2000/03/01 09:16:13 sg
|
|
|
+ * Changed all occurences of $linklib C into $linklib c
|
|
|
+
|
|
|
+ Revision 1.4 2000/02/27 14:39:54 peter
|
|
|
+ * added explicit linklib c
|
|
|
+
|
|
|
+ Revision 1.3 2000/02/27 13:11:31 peter
|
|
|
+ * cleanup, removed warnings
|
|
|
+ * external decls moved from implementation to interface
|
|
|
+
|
|
|
}
|