| 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_SERVER_PROTOCOL_H | 3 #ifndef REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H |
| 4 #define REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H | 4 #define REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H |
| 5 | 5 |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include "wayland-server.h" | 8 #include "wayland-server.h" |
| 9 | 9 |
| 10 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 { | 335 { |
| 336 wl_resource_post_event(resource_, ZCR_REMOTE_SHELL_V1_CONFIGURATION_CHAN
GED, width, height, transform, scale_factor, work_area_inset_left, work_area_ins
et_top, work_area_inset_right, work_area_inset_bottom, layout_mode); | 336 wl_resource_post_event(resource_, ZCR_REMOTE_SHELL_V1_CONFIGURATION_CHAN
GED, width, height, transform, scale_factor, work_area_inset_left, work_area_ins
et_top, work_area_inset_right, work_area_inset_bottom, layout_mode); |
| 337 } | 337 } |
| 338 | 338 |
| 339 /** | 339 /** |
| 340 * @ingroup iface_zcr_remote_shell_v1 | 340 * @ingroup iface_zcr_remote_shell_v1 |
| 341 * Sends an workspace event to the client owning the resource. | 341 * Sends an workspace event to the client owning the resource. |
| 342 * @param resource_ The client's resource | 342 * @param resource_ The client's resource |
| 343 */ | 343 */ |
| 344 static inline void | 344 static inline void |
| 345 zcr_remote_shell_v1_send_workspace(struct wl_resource *resource_, uint32_t id_hi
, uint32_t id_lo, int32_t x, int32_t y, int32_t width, int32_t height, int32_t i
nset_left, int32_t inset_top, int32_t inset_right, int32_t inset_bottom) | 345 zcr_remote_shell_v1_send_workspace(struct wl_resource *resource_, uint32_t id_hi
, uint32_t id_lo, int32_t x, int32_t y, int32_t width, int32_t height, int32_t i
nset_left, int32_t inset_top, int32_t inset_right, int32_t inset_bottom, int32_t
transform, wl_fixed_t scale_factor) |
| 346 { | 346 { |
| 347 » wl_resource_post_event(resource_, ZCR_REMOTE_SHELL_V1_WORKSPACE, id_hi,
id_lo, x, y, width, height, inset_left, inset_top, inset_right, inset_bottom); | 347 » wl_resource_post_event(resource_, ZCR_REMOTE_SHELL_V1_WORKSPACE, id_hi,
id_lo, x, y, width, height, inset_left, inset_top, inset_right, inset_bottom, tr
ansform, scale_factor); |
| 348 } | 348 } |
| 349 | 349 |
| 350 /** | 350 /** |
| 351 * @ingroup iface_zcr_remote_shell_v1 | 351 * @ingroup iface_zcr_remote_shell_v1 |
| 352 * Sends an configure event to the client owning the resource. | 352 * Sends an configure event to the client owning the resource. |
| 353 * @param resource_ The client's resource | 353 * @param resource_ The client's resource |
| 354 */ | 354 */ |
| 355 static inline void | 355 static inline void |
| 356 zcr_remote_shell_v1_send_configure(struct wl_resource *resource_, uint32_t prima
ry_id_hi, uint32_t primary_id_lo, int32_t transform, wl_fixed_t scale_factor, ui
nt32_t layout_mode) | 356 zcr_remote_shell_v1_send_configure(struct wl_resource *resource_, uint32_t layou
t_mode) |
| 357 { | 357 { |
| 358 » wl_resource_post_event(resource_, ZCR_REMOTE_SHELL_V1_CONFIGURE, primary
_id_hi, primary_id_lo, transform, scale_factor, layout_mode); | 358 » wl_resource_post_event(resource_, ZCR_REMOTE_SHELL_V1_CONFIGURE, layout_
mode); |
| 359 } | 359 } |
| 360 | 360 |
| 361 /** | 361 /** |
| 362 * @ingroup iface_zcr_remote_surface_v1 | 362 * @ingroup iface_zcr_remote_surface_v1 |
| 363 * @struct zcr_remote_surface_v1_interface | 363 * @struct zcr_remote_surface_v1_interface |
| 364 */ | 364 */ |
| 365 struct zcr_remote_surface_v1_interface { | 365 struct zcr_remote_surface_v1_interface { |
| 366 /** | 366 /** |
| 367 * Destroy the remote_surface | 367 * Destroy the remote_surface |
| 368 * | 368 * |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 /** | 810 /** |
| 811 * @ingroup iface_zcr_notification_surface_v1 | 811 * @ingroup iface_zcr_notification_surface_v1 |
| 812 */ | 812 */ |
| 813 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 | 813 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
| 814 | 814 |
| 815 #ifdef __cplusplus | 815 #ifdef __cplusplus |
| 816 } | 816 } |
| 817 #endif | 817 #endif |
| 818 | 818 |
| 819 #endif | 819 #endif |
| OLD | NEW |