| 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 int32_t height); | 363 int32_t height); |
| 364 /** | 364 /** |
| 365 * set scale | 365 * set scale |
| 366 * | 366 * |
| 367 * Set a scale factor that will be applied to surface and all | 367 * Set a scale factor that will be applied to surface and all |
| 368 * descendants. | 368 * descendants. |
| 369 */ | 369 */ |
| 370 void (*set_scale)(struct wl_client *client, | 370 void (*set_scale)(struct wl_client *client, |
| 371 struct wl_resource *resource, | 371 struct wl_resource *resource, |
| 372 wl_fixed_t scale); | 372 wl_fixed_t scale); |
| 373 » /** | 373 /** |
| 374 » * set a rectangular shadow | 374 * set a rectangular shadow |
| 375 » * | 375 * |
| 376 » * Request that surface needs a rectangular shadow. | 376 * [Deprecated] Request that surface needs a rectangular shadow. |
| 377 » * | 377 * |
| 378 » * This is only a request that the surface should have a | 378 * This is only a request that the surface should have a |
| 379 » * rectangular shadow. The compositor may choose to ignore this | 379 * rectangular shadow. The compositor may choose to ignore this |
| 380 » * request. | 380 * request. |
| 381 » * | 381 * |
| 382 » * The arguments are given in the output coordinate space and | 382 * The arguments are given in the output coordinate space and |
| 383 » * specifies the inner bounds of the shadow. | 383 * specifies the inner bounds of the shadow. |
| 384 » * | 384 * |
| 385 » * The arguments are given in the output coordinate space. | 385 * The arguments are given in the output coordinate space. |
| 386 » * Specifying zero width and height will disable the shadow. | 386 * Specifying zero width and height will disable the shadow. |
| 387 » */ | 387 */ |
| 388 » void (*set_rectangular_shadow)(struct wl_client *client, | 388 void (*set_rectangular_shadow)(struct wl_client *client, |
| 389 struct wl_resource *resource, | 389 struct wl_resource *resource, |
| 390 int32_t x, | 390 int32_t x, |
| 391 int32_t y, | 391 int32_t y, |
| 392 int32_t width, | 392 int32_t width, |
| 393 int32_t height); | 393 int32_t height); |
| 394 /** | 394 /** |
| 395 * suggests the window's background opacity | 395 * suggests the window's background opacity |
| 396 * | 396 * |
| 397 * Suggests the window's background opacity when the shadow is | 397 * Suggests the window's background opacity when the shadow is |
| 398 * requested. | 398 * requested. |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 /** | 552 /** |
| 553 * interactive move stopped | 553 * interactive move stopped |
| 554 * | 554 * |
| 555 * Notifies the compositor when an interactive, user-driven move | 555 * Notifies the compositor when an interactive, user-driven move |
| 556 * of the surface stops. The compositor may choose to stop the move | 556 * of the surface stops. The compositor may choose to stop the move |
| 557 * regardless of this request. | 557 * regardless of this request. |
| 558 * @since 2 | 558 * @since 2 |
| 559 */ | 559 */ |
| 560 void (*unset_moving)(struct wl_client *client, | 560 void (*unset_moving)(struct wl_client *client, |
| 561 struct wl_resource *resource); | 561 struct wl_resource *resource); |
| 562 /** |
| 563 * set a rectangular shadow |
| 564 * |
| 565 * Request that surface needs a rectangular shadow. |
| 566 * |
| 567 * This is only a request that the surface should have a |
| 568 * rectangular shadow. The compositor may choose to ignore this |
| 569 * request. |
| 570 * |
| 571 * The arguments are given in the remote surface coordinate space |
| 572 * and specifies inner bounds of the shadow. Specifying zero width |
| 573 * and height will disable the shadow. |
| 574 * @since 3 |
| 575 */ |
| 576 void (*set_rectangular_surface_shadow)(struct wl_client* client, |
| 577 struct wl_resource* resource, |
| 578 int32_t x, |
| 579 int32_t y, |
| 580 int32_t width, |
| 581 int32_t height); |
| 562 }; | 582 }; |
| 563 | 583 |
| 564 #define ZCR_REMOTE_SURFACE_V1_CLOSE 0 | 584 #define ZCR_REMOTE_SURFACE_V1_CLOSE 0 |
| 565 #define ZCR_REMOTE_SURFACE_V1_STATE_TYPE_CHANGED 1 | 585 #define ZCR_REMOTE_SURFACE_V1_STATE_TYPE_CHANGED 1 |
| 566 | 586 |
| 567 /** | 587 /** |
| 568 * @ingroup iface_zcr_remote_surface_v1 | 588 * @ingroup iface_zcr_remote_surface_v1 |
| 569 */ | 589 */ |
| 570 #define ZCR_REMOTE_SURFACE_V1_CLOSE_SINCE_VERSION 1 | 590 #define ZCR_REMOTE_SURFACE_V1_CLOSE_SINCE_VERSION 1 |
| 571 /** | 591 /** |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 void (*destroy)(struct wl_client *client, | 628 void (*destroy)(struct wl_client *client, |
| 609 struct wl_resource *resource); | 629 struct wl_resource *resource); |
| 610 }; | 630 }; |
| 611 | 631 |
| 612 | 632 |
| 613 #ifdef __cplusplus | 633 #ifdef __cplusplus |
| 614 } | 634 } |
| 615 #endif | 635 #endif |
| 616 | 636 |
| 617 #endif | 637 #endif |
| OLD | NEW |