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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 */ | 180 */ |
181 ZWP_REMOTE_SHELL_V1_STATE_TYPE_MAXIMIZED = 3, | 181 ZWP_REMOTE_SHELL_V1_STATE_TYPE_MAXIMIZED = 3, |
182 /** | 182 /** |
183 * fullscreen window state | 183 * fullscreen window state |
184 */ | 184 */ |
185 ZWP_REMOTE_SHELL_V1_STATE_TYPE_FULLSCREEN = 4, | 185 ZWP_REMOTE_SHELL_V1_STATE_TYPE_FULLSCREEN = 4, |
186 /** | 186 /** |
187 * pinned window state | 187 * pinned window state |
188 */ | 188 */ |
189 ZWP_REMOTE_SHELL_V1_STATE_TYPE_PINNED = 5, | 189 ZWP_REMOTE_SHELL_V1_STATE_TYPE_PINNED = 5, |
| 190 /** |
| 191 * trusted pinned window state |
| 192 */ |
| 193 ZWP_REMOTE_SHELL_V1_STATE_TYPE_TRUSTED_PINNED = 6, |
190 }; | 194 }; |
191 #endif /* ZWP_REMOTE_SHELL_V1_STATE_TYPE_ENUM */ | 195 #endif /* ZWP_REMOTE_SHELL_V1_STATE_TYPE_ENUM */ |
192 | 196 |
193 #ifndef ZWP_REMOTE_SHELL_V1_ERROR_ENUM | 197 #ifndef ZWP_REMOTE_SHELL_V1_ERROR_ENUM |
194 #define ZWP_REMOTE_SHELL_V1_ERROR_ENUM | 198 #define ZWP_REMOTE_SHELL_V1_ERROR_ENUM |
195 enum zwp_remote_shell_v1_error { | 199 enum zwp_remote_shell_v1_error { |
196 /** | 200 /** |
197 * given wl_surface has another role | 201 * given wl_surface has another role |
198 */ | 202 */ |
199 ZWP_REMOTE_SHELL_V1_ERROR_ROLE = 0, | 203 ZWP_REMOTE_SHELL_V1_ERROR_ROLE = 0, |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 * suggests the window's background opacity | 567 * suggests the window's background opacity |
564 * | 568 * |
565 * Suggests the window's background opacity when the shadow is | 569 * Suggests the window's background opacity when the shadow is |
566 * requested. | 570 * requested. |
567 * @since 9 | 571 * @since 9 |
568 */ | 572 */ |
569 void (*set_rectangular_shadow_background_opacity)(struct wl_client *clie
nt, | 573 void (*set_rectangular_shadow_background_opacity)(struct wl_client *clie
nt, |
570 struct wl_resource *re
source, | 574 struct wl_resource *re
source, |
571 wl_fixed_t opacity); | 575 wl_fixed_t opacity); |
572 /** | 576 /** |
573 » * activate surface | 577 » * make the surface active |
574 * | 578 * |
575 » * Make surface active. | 579 » * Make the surface active and bring it to the front. |
576 » * | 580 » * @param serial the serial of the user event |
577 * @since 10 | 581 * @since 10 |
578 */ | 582 */ |
579 void (*activate)(struct wl_client *client, | 583 void (*activate)(struct wl_client *client, |
580 » » » » struct wl_resource *resource, | 584 » » » struct wl_resource *resource, |
581 » » » » uint32_t serial); | 585 » » » uint32_t serial); |
| 586 » /** |
| 587 » * set window mode as pinned with taking a trasted flag. |
| 588 » * |
| 589 » * Request that surface is pinned. |
| 590 » * |
| 591 » * This is only a request that the window should be pinned. The |
| 592 » * compositor may choose to ignore this request. The client should |
| 593 » * listen to set_pinned events to determine if the window was |
| 594 » * pinned or not. If trusted flag is non-zero, the app can prevent |
| 595 » * users from exiting the pinned mode. |
| 596 » * @param trusted whether the app can enforce users to stay in
the pinned mode. |
| 597 » * @since 11 |
| 598 » */ |
| 599 » void (*pin_with_trusted_flag)(struct wl_client *client, |
| 600 » » » » struct wl_resource *resource, |
| 601 » » » » int32_t trusted); |
582 }; | 602 }; |
583 | 603 |
584 #define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0 | 604 #define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0 |
585 #define ZWP_REMOTE_SURFACE_V1_UNSET_FULLSCREEN 1 | 605 #define ZWP_REMOTE_SURFACE_V1_UNSET_FULLSCREEN 1 |
586 #define ZWP_REMOTE_SURFACE_V1_CLOSE 2 | 606 #define ZWP_REMOTE_SURFACE_V1_CLOSE 2 |
587 #define ZWP_REMOTE_SURFACE_V1_SET_MAXIMIZED 3 | 607 #define ZWP_REMOTE_SURFACE_V1_SET_MAXIMIZED 3 |
588 #define ZWP_REMOTE_SURFACE_V1_UNSET_MAXIMIZED 4 | 608 #define ZWP_REMOTE_SURFACE_V1_UNSET_MAXIMIZED 4 |
589 #define ZWP_REMOTE_SURFACE_V1_SET_MINIMIZED 5 | 609 #define ZWP_REMOTE_SURFACE_V1_SET_MINIMIZED 5 |
590 #define ZWP_REMOTE_SURFACE_V1_UNSET_MINIMIZED 6 | 610 #define ZWP_REMOTE_SURFACE_V1_UNSET_MINIMIZED 6 |
591 #define ZWP_REMOTE_SURFACE_V1_SET_PINNED 7 | 611 #define ZWP_REMOTE_SURFACE_V1_SET_PINNED 7 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 void (*destroy)(struct wl_client *client, | 776 void (*destroy)(struct wl_client *client, |
757 struct wl_resource *resource); | 777 struct wl_resource *resource); |
758 }; | 778 }; |
759 | 779 |
760 | 780 |
761 #ifdef __cplusplus | 781 #ifdef __cplusplus |
762 } | 782 } |
763 #endif | 783 #endif |
764 | 784 |
765 #endif | 785 #endif |
OLD | NEW |