| OLD | NEW |
| 1 /* Generated by wayland-scanner 1.11.0 */ | 1 /* Generated by wayland-scanner 1.11.0 */ |
| 2 | 2 |
| 3 #ifndef REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H | 3 #ifndef REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H |
| 4 #define REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H | 4 #define REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H |
| 5 | 5 |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include "wayland-client.h" | 8 #include "wayland-client.h" |
| 9 | 9 |
| 10 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 * | 235 * |
| 236 * Notifies client that the activated surface changed. | 236 * Notifies client that the activated surface changed. |
| 237 */ | 237 */ |
| 238 void (*activated)(void *data, | 238 void (*activated)(void *data, |
| 239 struct zcr_remote_shell_v1 *zcr_remote_shell_v1, | 239 struct zcr_remote_shell_v1 *zcr_remote_shell_v1, |
| 240 struct wl_surface *gained_active, | 240 struct wl_surface *gained_active, |
| 241 struct wl_surface *lost_active); | 241 struct wl_surface *lost_active); |
| 242 /** | 242 /** |
| 243 * suggests a re-configuration of remote shell | 243 * suggests a re-configuration of remote shell |
| 244 * | 244 * |
| 245 » * Suggests a re-configuration of remote shell. | 245 » * Deprecated. Suggests a re-configuration of remote shell. |
| 246 */ | 246 */ |
| 247 void (*configuration_changed)(void *data, | 247 void (*configuration_changed)(void *data, |
| 248 struct zcr_remote_shell_v1 *zcr_remote_she
ll_v1, | 248 struct zcr_remote_shell_v1 *zcr_remote_she
ll_v1, |
| 249 int32_t width, | 249 int32_t width, |
| 250 int32_t height, | 250 int32_t height, |
| 251 int32_t transform, | 251 int32_t transform, |
| 252 wl_fixed_t scale_factor, | 252 wl_fixed_t scale_factor, |
| 253 int32_t work_area_inset_left, | 253 int32_t work_area_inset_left, |
| 254 int32_t work_area_inset_top, | 254 int32_t work_area_inset_top, |
| 255 int32_t work_area_inset_right, | 255 int32_t work_area_inset_right, |
| 256 int32_t work_area_inset_bottom, | 256 int32_t work_area_inset_bottom, |
| 257 uint32_t layout_mode); | 257 uint32_t layout_mode); |
| 258 /** |
| 259 * area of remote shell |
| 260 * |
| 261 * Defines an area of the remote shell used for layout. |
| 262 */ |
| 263 void (*workspace)(void *data, |
| 264 struct zcr_remote_shell_v1 *zcr_remote_shell_v1, |
| 265 uint32_t id, |
| 266 int32_t x, |
| 267 int32_t y, |
| 268 int32_t width, |
| 269 int32_t height, |
| 270 int32_t inset_left, |
| 271 int32_t inset_top, |
| 272 int32_t inset_right, |
| 273 int32_t inset_bottom); |
| 274 /** |
| 275 * suggests configuration of remote shell |
| 276 * |
| 277 * Suggests a new configuration of the remote shell. Preceded by |
| 278 * a series of "workspace" events. |
| 279 */ |
| 280 void (*configure)(void *data, |
| 281 struct zcr_remote_shell_v1 *zcr_remote_shell_v1, |
| 282 int32_t width, |
| 283 int32_t height, |
| 284 int32_t transform, |
| 285 wl_fixed_t scale_factor, |
| 286 uint32_t layout_mode); |
| 258 }; | 287 }; |
| 259 | 288 |
| 260 /** | 289 /** |
| 261 * @ingroup zcr_remote_shell_v1_iface | 290 * @ingroup zcr_remote_shell_v1_iface |
| 262 */ | 291 */ |
| 263 static inline int | 292 static inline int |
| 264 zcr_remote_shell_v1_add_listener(struct zcr_remote_shell_v1 *zcr_remote_shell_v1
, | 293 zcr_remote_shell_v1_add_listener(struct zcr_remote_shell_v1 *zcr_remote_shell_v1
, |
| 265 const struct zcr_remote_shell_v1_listener *list
ener, void *data) | 294 const struct zcr_remote_shell_v1_listener *list
ener, void *data) |
| 266 { | 295 { |
| 267 return wl_proxy_add_listener((struct wl_proxy *) zcr_remote_shell_v1, | 296 return wl_proxy_add_listener((struct wl_proxy *) zcr_remote_shell_v1, |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 ZCR_NOTIFICATION_SURFACE_V1_DESTROY); | 921 ZCR_NOTIFICATION_SURFACE_V1_DESTROY); |
| 893 | 922 |
| 894 wl_proxy_destroy((struct wl_proxy *) zcr_notification_surface_v1); | 923 wl_proxy_destroy((struct wl_proxy *) zcr_notification_surface_v1); |
| 895 } | 924 } |
| 896 | 925 |
| 897 #ifdef __cplusplus | 926 #ifdef __cplusplus |
| 898 } | 927 } |
| 899 #endif | 928 #endif |
| 900 | 929 |
| 901 #endif | 930 #endif |
| OLD | NEW |