Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/output-management.xml
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 73 | <description summary="change the shell surface position"> | |||
---|---|---|---|---|---|
74 | Request an output configuration, which can be changed and then applied. | 74 | Request an output configuration, which can be changed and then applied. | ||
75 | </description> | 75 | </description> | ||
76 | <arg name="id" type="new_id" interface="org_kde_kwin_outputconfiguration"/> | 76 | <arg name="id" type="new_id" interface="org_kde_kwin_outputconfiguration"/> | ||
77 | </request> | 77 | </request> | ||
78 | 78 | | |||
79 | </interface> | 79 | </interface> | ||
80 | 80 | | |||
81 | 81 | | |||
82 | <interface name="org_kde_kwin_outputconfiguration" version="1"> | 82 | <interface name="org_kde_kwin_outputconfiguration" version="2"> | ||
graesslin: please increment version | |||||
83 | <description summary="list connected, but disabled outputs"> | 83 | <description summary="list connected, but disabled outputs"> | ||
84 | outputconfiguration is a client-specific resource that can be used to ask | 84 | outputconfiguration is a client-specific resource that can be used to ask | ||
85 | the compositor to apply changes to the outputdevices, the monitors connected | 85 | the compositor to apply changes to the outputdevices, the monitors connected | ||
86 | to the system. | 86 | to the system. | ||
87 | The client receives a list of outputdevices from the registry. When it wants | 87 | The client receives a list of outputdevices from the registry. When it wants | ||
88 | to apply new settings, it creates a configuration object from the | 88 | to apply new settings, it creates a configuration object from the | ||
89 | outputmanagement global, writes changes through this object's enable, scale, | 89 | outputmanagement global, writes changes through this object's enable, scale, | ||
90 | transform and mode calls. It then asks the compositor to apply these settings | 90 | transform and mode calls. It then asks the compositor to apply these settings | ||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
134 | <request name="scale"> | 134 | <request name="scale"> | ||
135 | <description summary="Set the scaling factor for this outputdevice"> | 135 | <description summary="Set the scaling factor for this outputdevice"> | ||
136 | Sets the scaling factor for this outputdevice. | 136 | Sets the scaling factor for this outputdevice. | ||
137 | </description> | 137 | </description> | ||
138 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice this mode change applies to"/> | 138 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice this mode change applies to"/> | ||
139 | <arg name="scale" type="int" summary="scaling factor"/> | 139 | <arg name="scale" type="int" summary="scaling factor"/> | ||
140 | </request> | 140 | </request> | ||
141 | 141 | | |||
142 | <request name="apply"> | 142 | <request name="apply"> | ||
graesslin: since is missing | |||||
graesslin: you cannot add requests in between, a new request must be the last. | |||||
143 | <description summary="apply the changes to the outputdevices"> | 143 | <description summary="apply the changes to the outputdevices"> | ||
144 | Asks the compositor to apply changes to the outputdevices on the server side. | 144 | Asks the compositor to apply changes to the outputdevices on the server side. | ||
145 | </description> | 145 | </description> | ||
146 | </request> | 146 | </request> | ||
147 | 147 | | |||
148 | <request name="colorcurves" since="2"> | ||||
149 | <description summary="set output color curves"> | ||||
150 | Set color curves of output devices through RGB color ramps. Allows color | ||||
151 | correction of output device from user space. | ||||
152 | | ||||
153 | These are the raw values. A compositor might opt to adjust these values | ||||
154 | internally, for example to shift color temperature at night. | ||||
155 | </description> | ||||
156 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice curves apply to"/> | ||||
157 | <arg name="red" type="array" summary="red color ramp"/> | ||||
158 | <arg name="green" type="array" summary="green color ramp"/> | ||||
159 | <arg name="blue" type="array" summary="blue color ramp"/> | ||||
160 | </request> | ||||
161 | | ||||
148 | 162 | | |||
149 | <event name="applied"> | 163 | <event name="applied"> | ||
150 | <description summary="configuration changes have been applied"> | 164 | <description summary="configuration changes have been applied"> | ||
151 | Fired after the compositor has applied the changes successfully. | 165 | Fired after the compositor has applied the changes successfully. | ||
152 | </description> | 166 | </description> | ||
153 | </event> | 167 | </event> | ||
154 | 168 | | |||
155 | <event name="failed"> | 169 | <event name="failed"> | ||
156 | <description summary="configuration changes failed to apply"> | 170 | <description summary="configuration changes failed to apply"> | ||
157 | Fired if the compositor rejects or failed to apply the changes. | 171 | Fired if the compositor rejects or failed to apply the changes. | ||
158 | </description> | 172 | </description> | ||
159 | </event> | 173 | </event> | ||
160 | 174 | | |||
161 | </interface> | 175 | </interface> | ||
162 | 176 | | |||
163 | </protocol> | 177 | </protocol> |
please increment version