mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
* Converted declaration of XSetWMProperties (merged from fixbranch)
This commit is contained in:
parent
b7c591affd
commit
9859aeea64
@ -97,8 +97,9 @@ Const
|
||||
IconWindowHint = 1 shl 3;
|
||||
IconPositionHint = 1 shl 4;
|
||||
IconMaskHint = 1 shl 5;
|
||||
WindowGroupHint = 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 +544,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 +689,10 @@ Implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.2 2000-07-13 11:33:34 michael
|
||||
Revision 1.3 2000-12-23 22:48:33 sg
|
||||
* Converted declaration of XSetWMProperties (merged from fixbranch)
|
||||
|
||||
Revision 1.2 2000/07/13 11:33:34 michael
|
||||
+ removed logs
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user