| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 * Request that surface is made unfullscreen. | 368 * Request that surface is made unfullscreen. |
| 369 * | 369 * |
| 370 * This is only a request that the window should be made | 370 * This is only a request that the window should be made |
| 371 * unfullscreen. The compositor may choose to ignore this request. | 371 * unfullscreen. The compositor may choose to ignore this request. |
| 372 * The client should listen to unset_fullscreen events to determine | 372 * The client should listen to unset_fullscreen events to determine |
| 373 * if the window was made unfullscreen or not. | 373 * if the window was made unfullscreen or not. |
| 374 * @since 3 | 374 * @since 3 |
| 375 */ | 375 */ |
| 376 void (*unfullscreen)(struct wl_client *client, | 376 void (*unfullscreen)(struct wl_client *client, |
| 377 struct wl_resource *resource); | 377 struct wl_resource *resource); |
| 378 | |
| 379 /** | 378 /** |
| 380 * set_rectangular_shadow | 379 » * set a rectangular shadow |
| 381 * Request that surface neesds a rectangular shadow. | 380 » * |
| 382 * | 381 » * Request that surface needs a rectangular shadow. |
| 383 * This is only a request that the surface should have a rectangular | 382 » * |
| 384 * shadow. The compositor may choose to ignore this request. | 383 » * This is only a request that the surface should have a |
| 385 * | 384 » * rectangular shadow. The compositor may choose to ignore this |
| 386 * The arguments are given in the output coordinate space and specifies | 385 » * request. |
| 387 * the inner bounds of the shadow. | 386 » * |
| 388 * | 387 » * The arguments are given in the output coordinate space and |
| 389 * The arguments are given in the output coordinate space. | 388 » * specifies the inner bounds of the shadow. |
| 390 * Specifying zero width and height will disable the shadow. | 389 » * |
| 390 » * The arguments are given in the output coordinate space. |
| 391 » * Specifying zero width and height will disable the shadow. |
| 391 * @since 4 | 392 * @since 4 |
| 392 */ | 393 */ |
| 393 void (*set_rectangular_shadow)(struct wl_client *client, | 394 void (*set_rectangular_shadow)(struct wl_client *client, |
| 394 struct wl_resource *resource, | 395 » » » » struct wl_resource *resource, |
| 395 int32_t x, | 396 » » » » int32_t x, |
| 396 int32_t y, | 397 » » » » int32_t y, |
| 397 int32_t width, | 398 » » » » int32_t width, |
| 398 int32_t height); | 399 » » » » int32_t height); |
| 400 » /** |
| 401 » * set surface title |
| 402 » * |
| 403 » * Set a short title for the surface. |
| 404 » * |
| 405 » * This string may be used to identify the surface in a task bar, |
| 406 » * window list, or other user interface elements provided by the |
| 407 » * compositor. |
| 408 » * |
| 409 » * The string must be encoded in UTF-8. |
| 410 » * @since 5 |
| 411 » */ |
| 412 » void (*set_title)(struct wl_client *client, |
| 413 » » » struct wl_resource *resource, |
| 414 » » » const char *title); |
| 415 » /** |
| 416 » * set top inset for surface |
| 417 » * |
| 418 » * Set distance from the top of the surface to the contents. |
| 419 » * |
| 420 » * This distance typically represents the size of the window |
| 421 » * caption. |
| 422 » * @since 5 |
| 423 » */ |
| 424 » void (*set_top_inset)(struct wl_client *client, |
| 425 » » » struct wl_resource *resource, |
| 426 » » » int32_t height); |
| 399 }; | 427 }; |
| 400 | 428 |
| 401 #define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0 | 429 #define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0 |
| 402 #define ZWP_REMOTE_SURFACE_V1_UNSET_FULLSCREEN 1 | 430 #define ZWP_REMOTE_SURFACE_V1_UNSET_FULLSCREEN 1 |
| 403 #define ZWP_REMOTE_SURFACE_V1_CLOSE 2 | 431 #define ZWP_REMOTE_SURFACE_V1_CLOSE 2 |
| 404 #define ZWP_REMOTE_SURFACE_V1_SET_MAXIMIZED 3 | 432 #define ZWP_REMOTE_SURFACE_V1_SET_MAXIMIZED 3 |
| 405 #define ZWP_REMOTE_SURFACE_V1_UNSET_MAXIMIZED 4 | 433 #define ZWP_REMOTE_SURFACE_V1_UNSET_MAXIMIZED 4 |
| 406 #define ZWP_REMOTE_SURFACE_V1_SET_MINIMIZED 5 | 434 #define ZWP_REMOTE_SURFACE_V1_SET_MINIMIZED 5 |
| 407 #define ZWP_REMOTE_SURFACE_V1_UNSET_MINIMIZED 6 | 435 #define ZWP_REMOTE_SURFACE_V1_UNSET_MINIMIZED 6 |
| 408 #define ZWP_REMOTE_SURFACE_V1_SET_PINNED 7 | 436 #define ZWP_REMOTE_SURFACE_V1_SET_PINNED 7 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 zwp_remote_surface_v1_send_unset_pinned(struct wl_resource *resource_) | 570 zwp_remote_surface_v1_send_unset_pinned(struct wl_resource *resource_) |
| 543 { | 571 { |
| 544 wl_resource_post_event(resource_, ZWP_REMOTE_SURFACE_V1_UNSET_PINNED); | 572 wl_resource_post_event(resource_, ZWP_REMOTE_SURFACE_V1_UNSET_PINNED); |
| 545 } | 573 } |
| 546 | 574 |
| 547 #ifdef __cplusplus | 575 #ifdef __cplusplus |
| 548 } | 576 } |
| 549 #endif | 577 #endif |
| 550 | 578 |
| 551 #endif | 579 #endif |
| OLD | NEW |