Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/outputdevice.xml
Show All 22 Lines | 3 | <copyright><![CDATA[ | |||
---|---|---|---|---|---|
23 | FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY | 23 | FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
24 | SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | 24 | SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
25 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN | 25 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN | ||
26 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | 26 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | ||
27 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF | 27 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF | ||
28 | THIS SOFTWARE. | 28 | THIS SOFTWARE. | ||
29 | ]]></copyright> | 29 | ]]></copyright> | ||
30 | 30 | | |||
31 | 31 | | |||
32 | <interface name="org_kde_kwin_outputdevice" version="2"> | 32 | <interface name="org_kde_kwin_outputdevice" version="2"> | ||
davidedmundson: you need to bump this | |||||
33 | <description summary="output configuration representation"> | 33 | <description summary="output configuration representation"> | ||
34 | An outputdevice describes a display device available to the compositor. | 34 | An outputdevice describes a display device available to the compositor. | ||
35 | outputdevice is similar to wl_output, but focuses on output | 35 | outputdevice is similar to wl_output, but focuses on output | ||
36 | configuration management. | 36 | configuration management. | ||
37 | 37 | | |||
38 | A client can query all global outputdevice objects to enlist all | 38 | A client can query all global outputdevice objects to enlist all | ||
39 | available display devices, even those that may currently not be | 39 | available display devices, even those that may currently not be | ||
40 | represented by the compositor as a wl_output. | 40 | represented by the compositor as a wl_output. | ||
▲ Show 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 89 | <event name="geometry"> | |||
101 | <arg name="physical_height" type="int" | 101 | <arg name="physical_height" type="int" | ||
102 | summary="height in millimeters of the output"/> | 102 | summary="height in millimeters of the output"/> | ||
103 | <arg name="subpixel" type="int" | 103 | <arg name="subpixel" type="int" | ||
104 | summary="subpixel orientation of the output"/> | 104 | summary="subpixel orientation of the output"/> | ||
105 | <arg name="make" type="string" | 105 | <arg name="make" type="string" | ||
106 | summary="textual description of the manufacturer"/> | 106 | summary="textual description of the manufacturer"/> | ||
107 | <arg name="model" type="string" | 107 | <arg name="model" type="string" | ||
108 | summary="textual description of the model"/> | 108 | summary="textual description of the model"/> | ||
109 | <arg name="transform" type="int" | 109 | <arg name="transform" type="int" | ||
110 | summary="transform that maps framebuffer to output"/> | 110 | summary="transform that maps framebuffer to output"/> | ||
111 | </event> | 111 | </event> | ||
112 | 112 | | |||
I'm not sure whether it's allowed to add arguments to an existing event. This would result in incompatibilities. You can make the server only emit to clients having the version, but then you actually broke any client which only has version 1. To be really compatible you need to add a new event. graesslin: I'm not sure whether it's allowed to add arguments to an existing event. This would result in… | |||||
113 | <enum name="mode"> | 113 | <enum name="mode"> | ||
114 | <description summary="mode information"> | 114 | <description summary="mode information"> | ||
115 | These flags describe properties of an output mode. They are | 115 | These flags describe properties of an output mode. They are | ||
116 | used in the flags bitfield of the mode event. | 116 | used in the flags bitfield of the mode event. | ||
117 | </description> | 117 | </description> | ||
118 | <entry name="current" value="0x1" | 118 | <entry name="current" value="0x1" | ||
119 | summary="indicates this is the current mode"/> | 119 | summary="indicates this is the current mode"/> | ||
120 | <entry name="preferred" value="0x2" | 120 | <entry name="preferred" value="0x2" | ||
▲ Show 20 Lines • Show All 147 Lines • ▼ Show 20 Line(s) | 258 | <event name="colorcurves" since="2"> | |||
268 | <arg name="red" type="array" | 268 | <arg name="red" type="array" | ||
269 | summary="red color ramp"/> | 269 | summary="red color ramp"/> | ||
270 | <arg name="green" type="array" | 270 | <arg name="green" type="array" | ||
271 | summary="green color ramp"/> | 271 | summary="green color ramp"/> | ||
272 | <arg name="blue" type="array" | 272 | <arg name="blue" type="array" | ||
273 | summary="blue color ramp"/> | 273 | summary="blue color ramp"/> | ||
274 | </event> | 274 | </event> | ||
275 | 275 | | |||
276 | <event name="serial_number" since="2"> | ||||
277 | <description summary="Serial Number"> | ||||
278 | Serial ID of the monitor, sent on startup before the first done event. | ||||
279 | </description> | ||||
280 | <arg name="serialNumber" type="string" | ||||
281 | summary="textual representation of serial number"/> | ||||
282 | </event> | ||||
283 | <event name="eisa_id" since="2"> | ||||
284 | <description summary="EISA ID"> | ||||
285 | EISA ID of the monitor, sent on startup before the first done event. | ||||
286 | </description> | ||||
287 | <arg name="eisaId" type="string" | ||||
288 | summary="textual representation of EISA identifier"/> | ||||
289 | </event> | ||||
290 | | ||||
276 | </interface> | 291 | </interface> | ||
277 | 292 | | |||
278 | 293 | | |||
279 | 294 | | |||
280 | </protocol> | 295 | </protocol> |
you need to bump this