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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 #define ZWP_REMOTE_SURFACE_V1_UNPIN 9 | 546 #define ZWP_REMOTE_SURFACE_V1_UNPIN 9 |
547 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN 10 | 547 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN 10 |
548 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW 11 | 548 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW 11 |
549 #define ZWP_REMOTE_SURFACE_V1_SET_TITLE 12 | 549 #define ZWP_REMOTE_SURFACE_V1_SET_TITLE 12 |
550 #define ZWP_REMOTE_SURFACE_V1_SET_TOP_INSET 13 | 550 #define ZWP_REMOTE_SURFACE_V1_SET_TOP_INSET 13 |
551 #define ZWP_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 14 | 551 #define ZWP_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 14 |
552 #define ZWP_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 15 | 552 #define ZWP_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 15 |
553 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY 16 | 553 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY 16 |
554 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE 17 | 554 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE 17 |
555 #define ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG 18 | 555 #define ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG 18 |
| 556 #define ZWP_REMOTE_SURFACE_V1_DRAG 19 |
| 557 #define ZWP_REMOTE_SURFACE_V1_DROP 20 |
556 | 558 |
557 /** | 559 /** |
558 * @ingroup iface_zwp_remote_surface_v1 | 560 * @ingroup iface_zwp_remote_surface_v1 |
559 */ | 561 */ |
560 #define ZWP_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 | 562 #define ZWP_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
561 /** | 563 /** |
562 * @ingroup iface_zwp_remote_surface_v1 | 564 * @ingroup iface_zwp_remote_surface_v1 |
563 */ | 565 */ |
564 #define ZWP_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 | 566 #define ZWP_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 |
565 /** | 567 /** |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 */ | 625 */ |
624 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY_SINCE_VE
RSION 9 | 626 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY_SINCE_VE
RSION 9 |
625 /** | 627 /** |
626 * @ingroup iface_zwp_remote_surface_v1 | 628 * @ingroup iface_zwp_remote_surface_v1 |
627 */ | 629 */ |
628 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE_SINCE_VERSION 10 | 630 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE_SINCE_VERSION 10 |
629 /** | 631 /** |
630 * @ingroup iface_zwp_remote_surface_v1 | 632 * @ingroup iface_zwp_remote_surface_v1 |
631 */ | 633 */ |
632 #define ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG_SINCE_VERSION 11 | 634 #define ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG_SINCE_VERSION 11 |
| 635 /** |
| 636 * @ingroup iface_zwp_remote_surface_v1 |
| 637 */ |
| 638 #define ZWP_REMOTE_SURFACE_V1_DRAG_SINCE_VERSION 12 |
| 639 /** |
| 640 * @ingroup iface_zwp_remote_surface_v1 |
| 641 */ |
| 642 #define ZWP_REMOTE_SURFACE_V1_DROP_SINCE_VERSION 12 |
633 | 643 |
634 /** @ingroup iface_zwp_remote_surface_v1 */ | 644 /** @ingroup iface_zwp_remote_surface_v1 */ |
635 static inline void | 645 static inline void |
636 zwp_remote_surface_v1_set_user_data(struct zwp_remote_surface_v1 *zwp_remote_sur
face_v1, void *user_data) | 646 zwp_remote_surface_v1_set_user_data(struct zwp_remote_surface_v1 *zwp_remote_sur
face_v1, void *user_data) |
637 { | 647 { |
638 wl_proxy_set_user_data((struct wl_proxy *) zwp_remote_surface_v1, user_d
ata); | 648 wl_proxy_set_user_data((struct wl_proxy *) zwp_remote_surface_v1, user_d
ata); |
639 } | 649 } |
640 | 650 |
641 /** @ingroup iface_zwp_remote_surface_v1 */ | 651 /** @ingroup iface_zwp_remote_surface_v1 */ |
642 static inline void * | 652 static inline void * |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 * pinned or not. If trusted flag is non-zero, the app can prevent users | 964 * pinned or not. If trusted flag is non-zero, the app can prevent users |
955 * from exiting the pinned mode. | 965 * from exiting the pinned mode. |
956 */ | 966 */ |
957 static inline void | 967 static inline void |
958 zwp_remote_surface_v1_pin_with_trusted_flag(struct zwp_remote_surface_v1 *zwp_re
mote_surface_v1, int32_t trusted) | 968 zwp_remote_surface_v1_pin_with_trusted_flag(struct zwp_remote_surface_v1 *zwp_re
mote_surface_v1, int32_t trusted) |
959 { | 969 { |
960 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, | 970 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, |
961 ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG, trusted); | 971 ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG, trusted); |
962 } | 972 } |
963 | 973 |
| 974 /** |
| 975 * @ingroup iface_zwp_remote_surface_v1 |
| 976 * |
| 977 * Notifies the compositor when a client-driven drag of the surface starts. |
| 978 * The compositor may assume that subsequent set_window_geometry requests |
| 979 * are position updates until it receives a "drop" request. |
| 980 */ |
| 981 static inline void |
| 982 zwp_remote_surface_v1_drag(struct zwp_remote_surface_v1 *zwp_remote_surface_v1) |
| 983 { |
| 984 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, |
| 985 ZWP_REMOTE_SURFACE_V1_DRAG); |
| 986 } |
| 987 |
| 988 /** |
| 989 * @ingroup iface_zwp_remote_surface_v1 |
| 990 * |
| 991 * Notifies the compositor when a client-driven drag of the surface stops, |
| 992 * and whether it was reverted. The compositor may choose to stop the drag |
| 993 * regardless of this request. |
| 994 */ |
| 995 static inline void |
| 996 zwp_remote_surface_v1_drop(struct zwp_remote_surface_v1 *zwp_remote_surface_v1,
uint32_t revert) |
| 997 { |
| 998 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, |
| 999 ZWP_REMOTE_SURFACE_V1_DROP, revert); |
| 1000 } |
| 1001 |
964 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY 0 | 1002 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY 0 |
965 | 1003 |
966 /** | 1004 /** |
967 * @ingroup iface_zwp_notification_surface_v1 | 1005 * @ingroup iface_zwp_notification_surface_v1 |
968 */ | 1006 */ |
969 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 | 1007 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
970 | 1008 |
971 /** @ingroup iface_zwp_notification_surface_v1 */ | 1009 /** @ingroup iface_zwp_notification_surface_v1 */ |
972 static inline void | 1010 static inline void |
973 zwp_notification_surface_v1_set_user_data(struct zwp_notification_surface_v1 *zw
p_notification_surface_v1, void *user_data) | 1011 zwp_notification_surface_v1_set_user_data(struct zwp_notification_surface_v1 *zw
p_notification_surface_v1, void *user_data) |
(...skipping 26 matching lines...) Expand all Loading... |
1000 ZWP_NOTIFICATION_SURFACE_V1_DESTROY); | 1038 ZWP_NOTIFICATION_SURFACE_V1_DESTROY); |
1001 | 1039 |
1002 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1); | 1040 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1); |
1003 } | 1041 } |
1004 | 1042 |
1005 #ifdef __cplusplus | 1043 #ifdef __cplusplus |
1006 } | 1044 } |
1007 #endif | 1045 #endif |
1008 | 1046 |
1009 #endif | 1047 #endif |
OLD | NEW |