summaryrefslogtreecommitdiff
path: root/protocol/tizen-policy.xml
blob: 0d5fd561c6275f0469da92051a0943624f418c65 (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
<?xml version="1.0" encoding="UTF-8"?>
<protocol name="tizen_policy">

	<interface name="tizen_policy" version="1">
		<request name="get_visibility">
			<arg name="id" type="new_id" interface="tizen_visibility" summary="new visibility object"/>
			<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
		</request>
		<request name="get_position">
			<arg name="id" type="new_id" interface="tizen_position" summary="new position object"/>
			<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
		</request>
		<request name="activate">
			<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
		</request>
		<request name="lower">
			<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
		</request>
		<request name="focus_skip_set">
			<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
		</request>
		<request name="focus_skip_unset">
			<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
		</request>
		<request name="role_set">
			<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
			<arg name="role" type="string"/>
		</request>
	</interface>

	<interface name="tizen_visibility" version="1">
		<request name="destroy" type="destructor">
		</request>

		<enum name="visibility">
			<entry name="unobscured" value="0"/>
			<entry name="partially_obscured" value="1"/>
			<entry name="fully_obscured" value="2"/>
		</enum>

		<event name="notify">
			<arg name="visibility" type="uint"/>
		</event>
	</interface>

	<interface name="tizen_position" version="1">
		<request name="destroy" type="destructor"/>
		<request name="set">
			<arg name="x" type="int"/>
			<arg name="y" type="int"/>
		</request>
		<event name="changed">
			<arg name="x" type="int"/>
			<arg name="y" type="int"/>
		</event>
	</interface>

</protocol>