summaryrefslogtreecommitdiff
path: root/hints.c
blob: 128e826b441f5185ddccfb194a830687ce7288c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>

#include "private.h"

WL_EXPORT int
XSetSizeHints(Display *dpy, Window w, XSizeHints *hints, Atom property)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetWMHints(Display *dpy, Window w, XWMHints *wmhints)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetZoomHints(Display *dpy, Window w, XSizeHints *zhints)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetNormalHints(Display *dpy, Window w, XSizeHints *hints)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetIconSizes(Display *dpy, Window w, XIconSize *list, int count)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetCommand(Display *dpy, Window w, char **argv, int argc)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetStandardProperties(Display *dpy, Window w, const char *name,
		       const char *icon_string, Pixmap icon_pixmap,
		       char **argv, int argc, XSizeHints *hints)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetTransientForHint(Display *dpy, Window w, Window propWindow)
{
	STUB();

	return 0;
}

WL_EXPORT int
XSetClassHint(Display *dpy, Window w, XClassHint *classhint)
{
	STUB();

	return 0;
}

WL_EXPORT Status
XSetWMProtocols(Display *dpy, Window w, Atom *protocols, int count)
{
    Atom prop;

    prop = XInternAtom(dpy, "WM_PROTOCOLS", False);
    if (prop == None)
	    return False;

    XChangeProperty(dpy, w, prop, XA_ATOM, 32,
		    PropModeReplace, (unsigned char *) protocols, count);

    return True;
}