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 12 matching lines...) Expand all Loading... |
23 * Warning! The protocol described in this file is experimental and backward | 23 * Warning! The protocol described in this file is experimental and backward |
24 * incompatible changes may be made. Backward compatible changes may be added | 24 * incompatible changes may be made. Backward compatible changes may be added |
25 * together with the corresponding interface version bump. Backward | 25 * together with the corresponding interface version bump. Backward |
26 * incompatible changes are done by bumping the version number in the protocol | 26 * incompatible changes are done by bumping the version number in the protocol |
27 * and interface names and resetting the interface version. Once the protocol | 27 * and interface names and resetting the interface version. Once the protocol |
28 * is to be declared stable, the 'z' prefix and the version number in the | 28 * is to be declared stable, the 'z' prefix and the version number in the |
29 * protocol and interface names are removed and the interface version number is | 29 * protocol and interface names are removed and the interface version number is |
30 * reset. | 30 * reset. |
31 * | 31 * |
32 * @section page_ifaces_remote_shell_unstable_v1 Interfaces | 32 * @section page_ifaces_remote_shell_unstable_v1 Interfaces |
33 * - @subpage page_iface_zwp_remote_shell_v1 - remote_shell | 33 * - @subpage page_iface_zcr_remote_shell_v1 - remote_shell |
34 * - @subpage page_iface_zwp_remote_surface_v1 - A desktop window | 34 * - @subpage page_iface_zcr_remote_surface_v1 - A desktop window |
35 * - @subpage page_iface_zwp_notification_surface_v1 - A notification window | 35 * - @subpage page_iface_zcr_notification_surface_v1 - A notification window |
| 36 * - @subpage page_iface_zwp_remote_shell_v1 - DEPRECATED |
| 37 * - @subpage page_iface_zwp_remote_surface_v1 - DEPRECATED |
| 38 * - @subpage page_iface_zwp_notification_surface_v1 - DEPRECATED |
36 * @section page_copyright_remote_shell_unstable_v1 Copyright | 39 * @section page_copyright_remote_shell_unstable_v1 Copyright |
37 * <pre> | 40 * <pre> |
38 * | 41 * |
39 * Copyright 2016 The Chromium Authors. | 42 * Copyright 2016 The Chromium Authors. |
40 * | 43 * |
41 * Permission is hereby granted, free of charge, to any person obtaining a | 44 * Permission is hereby granted, free of charge, to any person obtaining a |
42 * copy of this software and associated documentation files (the "Software"), | 45 * copy of this software and associated documentation files (the "Software"), |
43 * to deal in the Software without restriction, including without limitation | 46 * to deal in the Software without restriction, including without limitation |
44 * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 47 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
45 * and/or sell copies of the Software, and to permit persons to whom the | 48 * and/or sell copies of the Software, and to permit persons to whom the |
46 * Software is furnished to do so, subject to the following conditions: | 49 * Software is furnished to do so, subject to the following conditions: |
47 * | 50 * |
48 * The above copyright notice and this permission notice (including the next | 51 * The above copyright notice and this permission notice (including the next |
49 * paragraph) shall be included in all copies or substantial portions of the | 52 * paragraph) shall be included in all copies or substantial portions of the |
50 * Software. | 53 * Software. |
51 * | 54 * |
52 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 55 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
53 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 56 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
54 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | 57 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
55 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 58 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
56 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 59 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
57 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 60 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
58 * DEALINGS IN THE SOFTWARE. | 61 * DEALINGS IN THE SOFTWARE. |
59 * </pre> | 62 * </pre> |
60 */ | 63 */ |
61 struct wl_surface; | 64 struct wl_surface; |
| 65 struct zcr_notification_surface_v1; |
| 66 struct zcr_remote_shell_v1; |
| 67 struct zcr_remote_surface_v1; |
62 struct zwp_notification_surface_v1; | 68 struct zwp_notification_surface_v1; |
63 struct zwp_remote_shell_v1; | 69 struct zwp_remote_shell_v1; |
64 struct zwp_remote_surface_v1; | 70 struct zwp_remote_surface_v1; |
65 | 71 |
66 /** | 72 /** |
| 73 * @page page_iface_zcr_remote_shell_v1 zcr_remote_shell_v1 |
| 74 * @section page_iface_zcr_remote_shell_v1_desc Description |
| 75 * |
| 76 * The global interface that allows clients to turn a wl_surface into a |
| 77 * "real window" which is remotely managed but can be stacked, activated |
| 78 * and made fullscreen by the user. |
| 79 * @section page_iface_zcr_remote_shell_v1_api API |
| 80 * See @ref iface_zcr_remote_shell_v1. |
| 81 */ |
| 82 /** |
| 83 * @defgroup iface_zcr_remote_shell_v1 The zcr_remote_shell_v1 interface |
| 84 * |
| 85 * The global interface that allows clients to turn a wl_surface into a |
| 86 * "real window" which is remotely managed but can be stacked, activated |
| 87 * and made fullscreen by the user. |
| 88 */ |
| 89 extern const struct wl_interface zcr_remote_shell_v1_interface; |
| 90 /** |
| 91 * @page page_iface_zcr_remote_surface_v1 zcr_remote_surface_v1 |
| 92 * @section page_iface_zcr_remote_surface_v1_desc Description |
| 93 * |
| 94 * An interface that may be implemented by a wl_surface, for |
| 95 * implementations that provide a desktop-style user interface |
| 96 * and allows for remotely managed windows. |
| 97 * |
| 98 * It provides requests to treat surfaces like windows, allowing to set |
| 99 * properties like app id and geometry. |
| 100 * |
| 101 * The client must call wl_surface.commit on the corresponding wl_surface |
| 102 * for the remote_surface state to take effect. |
| 103 * |
| 104 * For a surface to be mapped by the compositor the client must have |
| 105 * committed both an remote_surface state and a buffer. |
| 106 * @section page_iface_zcr_remote_surface_v1_api API |
| 107 * See @ref iface_zcr_remote_surface_v1. |
| 108 */ |
| 109 /** |
| 110 * @defgroup iface_zcr_remote_surface_v1 The zcr_remote_surface_v1 interface |
| 111 * |
| 112 * An interface that may be implemented by a wl_surface, for |
| 113 * implementations that provide a desktop-style user interface |
| 114 * and allows for remotely managed windows. |
| 115 * |
| 116 * It provides requests to treat surfaces like windows, allowing to set |
| 117 * properties like app id and geometry. |
| 118 * |
| 119 * The client must call wl_surface.commit on the corresponding wl_surface |
| 120 * for the remote_surface state to take effect. |
| 121 * |
| 122 * For a surface to be mapped by the compositor the client must have |
| 123 * committed both an remote_surface state and a buffer. |
| 124 */ |
| 125 extern const struct wl_interface zcr_remote_surface_v1_interface; |
| 126 /** |
| 127 * @page page_iface_zcr_notification_surface_v1 zcr_notification_surface_v1 |
| 128 * @section page_iface_zcr_notification_surface_v1_desc Description |
| 129 * |
| 130 * An interface that may be implemented by a wl_surface to host |
| 131 * notification contents. |
| 132 * @section page_iface_zcr_notification_surface_v1_api API |
| 133 * See @ref iface_zcr_notification_surface_v1. |
| 134 */ |
| 135 /** |
| 136 * @defgroup iface_zcr_notification_surface_v1 The zcr_notification_surface_v1 i
nterface |
| 137 * |
| 138 * An interface that may be implemented by a wl_surface to host |
| 139 * notification contents. |
| 140 */ |
| 141 extern const struct wl_interface zcr_notification_surface_v1_interface; |
| 142 /** |
67 * @page page_iface_zwp_remote_shell_v1 zwp_remote_shell_v1 | 143 * @page page_iface_zwp_remote_shell_v1 zwp_remote_shell_v1 |
68 * @section page_iface_zwp_remote_shell_v1_desc Description | 144 * @section page_iface_zwp_remote_shell_v1_desc Description |
69 * | 145 * |
70 * The global interface that allows clients to turn a wl_surface into a | 146 * The global interface that allows clients to turn a wl_surface into a |
71 * "real window" which is remotely managed but can be stacked, activated | 147 * "real window" which is remotely managed but can be stacked, activated |
72 * and made fullscreen by the user. | 148 * and made fullscreen by the user. |
73 * @section page_iface_zwp_remote_shell_v1_api API | 149 * @section page_iface_zwp_remote_shell_v1_api API |
74 * See @ref iface_zwp_remote_shell_v1. | 150 * See @ref iface_zwp_remote_shell_v1. |
75 */ | 151 */ |
76 /** | 152 /** |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 * See @ref iface_zwp_notification_surface_v1. | 203 * See @ref iface_zwp_notification_surface_v1. |
128 */ | 204 */ |
129 /** | 205 /** |
130 * @defgroup iface_zwp_notification_surface_v1 The zwp_notification_surface_v1 i
nterface | 206 * @defgroup iface_zwp_notification_surface_v1 The zwp_notification_surface_v1 i
nterface |
131 * | 207 * |
132 * An interface that may be implemented by a wl_surface to host | 208 * An interface that may be implemented by a wl_surface to host |
133 * notification contents. | 209 * notification contents. |
134 */ | 210 */ |
135 extern const struct wl_interface zwp_notification_surface_v1_interface; | 211 extern const struct wl_interface zwp_notification_surface_v1_interface; |
136 | 212 |
| 213 #ifndef ZCR_REMOTE_SHELL_V1_CONTAINER_ENUM |
| 214 #define ZCR_REMOTE_SHELL_V1_CONTAINER_ENUM |
| 215 /** |
| 216 * @ingroup iface_zcr_remote_shell_v1 |
| 217 * containers for remote surfaces |
| 218 * |
| 219 * Determine how a remote surface should be stacked relative to other |
| 220 * shell surfaces. |
| 221 */ |
| 222 enum zcr_remote_shell_v1_container { |
| 223 /** |
| 224 * default container |
| 225 */ |
| 226 ZCR_REMOTE_SHELL_V1_CONTAINER_DEFAULT = 1, |
| 227 /** |
| 228 * system modal container |
| 229 */ |
| 230 ZCR_REMOTE_SHELL_V1_CONTAINER_OVERLAY = 2, |
| 231 }; |
| 232 #endif /* ZCR_REMOTE_SHELL_V1_CONTAINER_ENUM */ |
| 233 |
| 234 #ifndef ZCR_REMOTE_SHELL_V1_STATE_TYPE_ENUM |
| 235 #define ZCR_REMOTE_SHELL_V1_STATE_TYPE_ENUM |
| 236 /** |
| 237 * @ingroup iface_zcr_remote_shell_v1 |
| 238 * state types for remote surfaces |
| 239 * |
| 240 * Defines common show states for shell surfaces. |
| 241 */ |
| 242 enum zcr_remote_shell_v1_state_type { |
| 243 /** |
| 244 * normal window state |
| 245 */ |
| 246 ZCR_REMOTE_SHELL_V1_STATE_TYPE_NORMAL = 1, |
| 247 /** |
| 248 * minimized window state |
| 249 */ |
| 250 ZCR_REMOTE_SHELL_V1_STATE_TYPE_MINIMIZED = 2, |
| 251 /** |
| 252 * maximized window state |
| 253 */ |
| 254 ZCR_REMOTE_SHELL_V1_STATE_TYPE_MAXIMIZED = 3, |
| 255 /** |
| 256 * fullscreen window state |
| 257 */ |
| 258 ZCR_REMOTE_SHELL_V1_STATE_TYPE_FULLSCREEN = 4, |
| 259 /** |
| 260 * pinned window state |
| 261 */ |
| 262 ZCR_REMOTE_SHELL_V1_STATE_TYPE_PINNED = 5, |
| 263 /** |
| 264 * trusted pinned window state |
| 265 */ |
| 266 ZCR_REMOTE_SHELL_V1_STATE_TYPE_TRUSTED_PINNED = 6, |
| 267 }; |
| 268 #endif /* ZCR_REMOTE_SHELL_V1_STATE_TYPE_ENUM */ |
| 269 |
| 270 #ifndef ZCR_REMOTE_SHELL_V1_ERROR_ENUM |
| 271 #define ZCR_REMOTE_SHELL_V1_ERROR_ENUM |
| 272 enum zcr_remote_shell_v1_error { |
| 273 /** |
| 274 * given wl_surface has another role |
| 275 */ |
| 276 ZCR_REMOTE_SHELL_V1_ERROR_ROLE = 0, |
| 277 /** |
| 278 * invalid notification id |
| 279 */ |
| 280 ZCR_REMOTE_SHELL_V1_ERROR_INVALID_NOTIFICATION_ID = 1, |
| 281 }; |
| 282 #endif /* ZCR_REMOTE_SHELL_V1_ERROR_ENUM */ |
| 283 |
| 284 #ifndef ZCR_REMOTE_SHELL_V1_LAYOUT_MODE_ENUM |
| 285 #define ZCR_REMOTE_SHELL_V1_LAYOUT_MODE_ENUM |
| 286 /** |
| 287 * @ingroup iface_zcr_remote_shell_v1 |
| 288 * the layout mode |
| 289 * |
| 290 * Determine how a client should layout surfaces. |
| 291 */ |
| 292 enum zcr_remote_shell_v1_layout_mode { |
| 293 /** |
| 294 * multiple windows |
| 295 */ |
| 296 ZCR_REMOTE_SHELL_V1_LAYOUT_MODE_WINDOWED = 1, |
| 297 /** |
| 298 * restricted mode for tablet |
| 299 */ |
| 300 ZCR_REMOTE_SHELL_V1_LAYOUT_MODE_TABLET = 2, |
| 301 }; |
| 302 #endif /* ZCR_REMOTE_SHELL_V1_LAYOUT_MODE_ENUM */ |
| 303 |
| 304 /** |
| 305 * @ingroup iface_zcr_remote_shell_v1 |
| 306 * @struct zcr_remote_shell_v1_listener |
| 307 */ |
| 308 struct zcr_remote_shell_v1_listener { |
| 309 /** |
| 310 * activated surface changed |
| 311 * |
| 312 * Notifies client that the activated surface changed. |
| 313 */ |
| 314 void (*activated)(void *data, |
| 315 struct zcr_remote_shell_v1 *zcr_remote_shell_v1, |
| 316 struct wl_surface *gained_active, |
| 317 struct wl_surface *lost_active); |
| 318 /** |
| 319 * suggests a re-configuration of remote shell |
| 320 * |
| 321 * Suggests a re-configuration of remote shell. |
| 322 */ |
| 323 void (*configuration_changed)(void *data, |
| 324 struct zcr_remote_shell_v1 *zcr_remote_she
ll_v1, |
| 325 int32_t width, |
| 326 int32_t height, |
| 327 int32_t transform, |
| 328 wl_fixed_t scale_factor, |
| 329 int32_t work_area_inset_left, |
| 330 int32_t work_area_inset_top, |
| 331 int32_t work_area_inset_right, |
| 332 int32_t work_area_inset_bottom, |
| 333 uint32_t layout_mode); |
| 334 }; |
| 335 |
| 336 /** |
| 337 * @ingroup zcr_remote_shell_v1_iface |
| 338 */ |
| 339 static inline int |
| 340 zcr_remote_shell_v1_add_listener(struct zcr_remote_shell_v1 *zcr_remote_shell_v1
, |
| 341 const struct zcr_remote_shell_v1_listener *list
ener, void *data) |
| 342 { |
| 343 return wl_proxy_add_listener((struct wl_proxy *) zcr_remote_shell_v1, |
| 344 (void (**)(void)) listener, data); |
| 345 } |
| 346 |
| 347 #define ZCR_REMOTE_SHELL_V1_DESTROY 0 |
| 348 #define ZCR_REMOTE_SHELL_V1_GET_REMOTE_SURFACE 1 |
| 349 #define ZCR_REMOTE_SHELL_V1_GET_NOTIFICATION_SURFACE 2 |
| 350 |
| 351 /** |
| 352 * @ingroup iface_zcr_remote_shell_v1 |
| 353 */ |
| 354 #define ZCR_REMOTE_SHELL_V1_DESTROY_SINCE_VERSION 1 |
| 355 /** |
| 356 * @ingroup iface_zcr_remote_shell_v1 |
| 357 */ |
| 358 #define ZCR_REMOTE_SHELL_V1_GET_REMOTE_SURFACE_SINCE_VERSION 1 |
| 359 /** |
| 360 * @ingroup iface_zcr_remote_shell_v1 |
| 361 */ |
| 362 #define ZCR_REMOTE_SHELL_V1_GET_NOTIFICATION_SURFACE_SINCE_VERSION 1 |
| 363 |
| 364 /** @ingroup iface_zcr_remote_shell_v1 */ |
| 365 static inline void |
| 366 zcr_remote_shell_v1_set_user_data(struct zcr_remote_shell_v1 *zcr_remote_shell_v
1, void *user_data) |
| 367 { |
| 368 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_shell_v1, user_dat
a); |
| 369 } |
| 370 |
| 371 /** @ingroup iface_zcr_remote_shell_v1 */ |
| 372 static inline void * |
| 373 zcr_remote_shell_v1_get_user_data(struct zcr_remote_shell_v1 *zcr_remote_shell_v
1) |
| 374 { |
| 375 return wl_proxy_get_user_data((struct wl_proxy *) zcr_remote_shell_v1); |
| 376 } |
| 377 |
| 378 static inline uint32_t |
| 379 zcr_remote_shell_v1_get_version(struct zcr_remote_shell_v1 *zcr_remote_shell_v1) |
| 380 { |
| 381 return wl_proxy_get_version((struct wl_proxy *) zcr_remote_shell_v1); |
| 382 } |
| 383 |
| 384 /** |
| 385 * @ingroup iface_zcr_remote_shell_v1 |
| 386 * |
| 387 * Destroy this remote_shell object. |
| 388 * |
| 389 * Destroying a bound remote_shell object while there are surfaces |
| 390 * still alive created by this remote_shell object instance is illegal |
| 391 * and will result in a protocol error. |
| 392 */ |
| 393 static inline void |
| 394 zcr_remote_shell_v1_destroy(struct zcr_remote_shell_v1 *zcr_remote_shell_v1) |
| 395 { |
| 396 wl_proxy_marshal((struct wl_proxy *) zcr_remote_shell_v1, |
| 397 ZCR_REMOTE_SHELL_V1_DESTROY); |
| 398 |
| 399 wl_proxy_destroy((struct wl_proxy *) zcr_remote_shell_v1); |
| 400 } |
| 401 |
| 402 /** |
| 403 * @ingroup iface_zcr_remote_shell_v1 |
| 404 * |
| 405 * This creates an remote_surface for the given surface and gives it the |
| 406 * remote_surface role. A wl_surface can only be given a remote_surface |
| 407 * role once. If get_remote_surface is called with a wl_surface that |
| 408 * already has an active remote_surface associated with it, or if it had |
| 409 * any other role, an error is raised. |
| 410 * |
| 411 * See the documentation of remote_surface for more details about what an |
| 412 * remote_surface is and how it is used. |
| 413 */ |
| 414 static inline struct zcr_remote_surface_v1 * |
| 415 zcr_remote_shell_v1_get_remote_surface(struct zcr_remote_shell_v1 *zcr_remote_sh
ell_v1, struct wl_surface *surface, uint32_t container) |
| 416 { |
| 417 struct wl_proxy *id; |
| 418 |
| 419 id = wl_proxy_marshal_constructor((struct wl_proxy *) zcr_remote_shell_v
1, |
| 420 ZCR_REMOTE_SHELL_V1_GET_REMOTE_SURFACE, &zcr_remote_sur
face_v1_interface, NULL, surface, container); |
| 421 |
| 422 return (struct zcr_remote_surface_v1 *) id; |
| 423 } |
| 424 |
| 425 /** |
| 426 * @ingroup iface_zcr_remote_shell_v1 |
| 427 * |
| 428 * Creates a notification_surface for the given surface, gives it the |
| 429 * notification_surface role and associated it with a notification id. |
| 430 */ |
| 431 static inline struct zcr_notification_surface_v1 * |
| 432 zcr_remote_shell_v1_get_notification_surface(struct zcr_remote_shell_v1 *zcr_rem
ote_shell_v1, struct wl_surface *surface, const char *notification_id) |
| 433 { |
| 434 struct wl_proxy *id; |
| 435 |
| 436 id = wl_proxy_marshal_constructor((struct wl_proxy *) zcr_remote_shell_v
1, |
| 437 ZCR_REMOTE_SHELL_V1_GET_NOTIFICATION_SURFACE, &zcr_noti
fication_surface_v1_interface, NULL, surface, notification_id); |
| 438 |
| 439 return (struct zcr_notification_surface_v1 *) id; |
| 440 } |
| 441 |
| 442 /** |
| 443 * @ingroup iface_zcr_remote_surface_v1 |
| 444 * @struct zcr_remote_surface_v1_listener |
| 445 */ |
| 446 struct zcr_remote_surface_v1_listener { |
| 447 /** |
| 448 * surface wants to be closed |
| 449 * |
| 450 * The close event is sent by the compositor when the user wants |
| 451 * the surface to be closed. This should be equivalent to the user |
| 452 * clicking the close button in client-side decorations, if your |
| 453 * application has any... |
| 454 * |
| 455 * This is only a request that the user intends to close your |
| 456 * window. The client may choose to ignore this request, or show a |
| 457 * dialog to ask the user to save their data... |
| 458 */ |
| 459 void (*close)(void *data, |
| 460 struct zcr_remote_surface_v1 *zcr_remote_surface_v1); |
| 461 /** |
| 462 * surface state type changed |
| 463 * |
| 464 * The state_type_changed event is sent by the compositor when |
| 465 * the surface state changed. |
| 466 * |
| 467 * This is an event to notify that the window state changed in |
| 468 * compositor. The state change may be triggered by a client's |
| 469 * request, or some user action directly handled by the compositor. |
| 470 * The client may choose to ignore this event. |
| 471 */ |
| 472 void (*state_type_changed)(void *data, |
| 473 struct zcr_remote_surface_v1 *zcr_remote_surf
ace_v1, |
| 474 uint32_t state_type); |
| 475 }; |
| 476 |
| 477 /** |
| 478 * @ingroup zcr_remote_surface_v1_iface |
| 479 */ |
| 480 static inline int |
| 481 zcr_remote_surface_v1_add_listener(struct zcr_remote_surface_v1 *zcr_remote_surf
ace_v1, |
| 482 const struct zcr_remote_surface_v1_listener *
listener, void *data) |
| 483 { |
| 484 return wl_proxy_add_listener((struct wl_proxy *) zcr_remote_surface_v1, |
| 485 (void (**)(void)) listener, data); |
| 486 } |
| 487 |
| 488 #define ZCR_REMOTE_SURFACE_V1_DESTROY 0 |
| 489 #define ZCR_REMOTE_SURFACE_V1_SET_APP_ID 1 |
| 490 #define ZCR_REMOTE_SURFACE_V1_SET_WINDOW_GEOMETRY 2 |
| 491 #define ZCR_REMOTE_SURFACE_V1_SET_SCALE 3 |
| 492 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW 4 |
| 493 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY 5 |
| 494 #define ZCR_REMOTE_SURFACE_V1_SET_TITLE 6 |
| 495 #define ZCR_REMOTE_SURFACE_V1_SET_TOP_INSET 7 |
| 496 #define ZCR_REMOTE_SURFACE_V1_ACTIVATE 8 |
| 497 #define ZCR_REMOTE_SURFACE_V1_MAXIMIZE 9 |
| 498 #define ZCR_REMOTE_SURFACE_V1_MINIMIZE 10 |
| 499 #define ZCR_REMOTE_SURFACE_V1_RESTORE 11 |
| 500 #define ZCR_REMOTE_SURFACE_V1_FULLSCREEN 12 |
| 501 #define ZCR_REMOTE_SURFACE_V1_UNFULLSCREEN 13 |
| 502 #define ZCR_REMOTE_SURFACE_V1_PIN 14 |
| 503 #define ZCR_REMOTE_SURFACE_V1_UNPIN 15 |
| 504 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 16 |
| 505 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 17 |
| 506 |
| 507 /** |
| 508 * @ingroup iface_zcr_remote_surface_v1 |
| 509 */ |
| 510 #define ZCR_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
| 511 /** |
| 512 * @ingroup iface_zcr_remote_surface_v1 |
| 513 */ |
| 514 #define ZCR_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 |
| 515 /** |
| 516 * @ingroup iface_zcr_remote_surface_v1 |
| 517 */ |
| 518 #define ZCR_REMOTE_SURFACE_V1_SET_WINDOW_GEOMETRY_SINCE_VERSION 1 |
| 519 /** |
| 520 * @ingroup iface_zcr_remote_surface_v1 |
| 521 */ |
| 522 #define ZCR_REMOTE_SURFACE_V1_SET_SCALE_SINCE_VERSION 1 |
| 523 /** |
| 524 * @ingroup iface_zcr_remote_surface_v1 |
| 525 */ |
| 526 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_SINCE_VERSION 1 |
| 527 /** |
| 528 * @ingroup iface_zcr_remote_surface_v1 |
| 529 */ |
| 530 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY_SINCE_VE
RSION 1 |
| 531 /** |
| 532 * @ingroup iface_zcr_remote_surface_v1 |
| 533 */ |
| 534 #define ZCR_REMOTE_SURFACE_V1_SET_TITLE_SINCE_VERSION 1 |
| 535 /** |
| 536 * @ingroup iface_zcr_remote_surface_v1 |
| 537 */ |
| 538 #define ZCR_REMOTE_SURFACE_V1_SET_TOP_INSET_SINCE_VERSION 1 |
| 539 /** |
| 540 * @ingroup iface_zcr_remote_surface_v1 |
| 541 */ |
| 542 #define ZCR_REMOTE_SURFACE_V1_ACTIVATE_SINCE_VERSION 1 |
| 543 /** |
| 544 * @ingroup iface_zcr_remote_surface_v1 |
| 545 */ |
| 546 #define ZCR_REMOTE_SURFACE_V1_MAXIMIZE_SINCE_VERSION 1 |
| 547 /** |
| 548 * @ingroup iface_zcr_remote_surface_v1 |
| 549 */ |
| 550 #define ZCR_REMOTE_SURFACE_V1_MINIMIZE_SINCE_VERSION 1 |
| 551 /** |
| 552 * @ingroup iface_zcr_remote_surface_v1 |
| 553 */ |
| 554 #define ZCR_REMOTE_SURFACE_V1_RESTORE_SINCE_VERSION 1 |
| 555 /** |
| 556 * @ingroup iface_zcr_remote_surface_v1 |
| 557 */ |
| 558 #define ZCR_REMOTE_SURFACE_V1_FULLSCREEN_SINCE_VERSION 1 |
| 559 /** |
| 560 * @ingroup iface_zcr_remote_surface_v1 |
| 561 */ |
| 562 #define ZCR_REMOTE_SURFACE_V1_UNFULLSCREEN_SINCE_VERSION 1 |
| 563 /** |
| 564 * @ingroup iface_zcr_remote_surface_v1 |
| 565 */ |
| 566 #define ZCR_REMOTE_SURFACE_V1_PIN_SINCE_VERSION 1 |
| 567 /** |
| 568 * @ingroup iface_zcr_remote_surface_v1 |
| 569 */ |
| 570 #define ZCR_REMOTE_SURFACE_V1_UNPIN_SINCE_VERSION 1 |
| 571 /** |
| 572 * @ingroup iface_zcr_remote_surface_v1 |
| 573 */ |
| 574 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL_SINCE_VERSION 1 |
| 575 /** |
| 576 * @ingroup iface_zcr_remote_surface_v1 |
| 577 */ |
| 578 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 1 |
| 579 |
| 580 /** @ingroup iface_zcr_remote_surface_v1 */ |
| 581 static inline void |
| 582 zcr_remote_surface_v1_set_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur
face_v1, void *user_data) |
| 583 { |
| 584 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_surface_v1, user_d
ata); |
| 585 } |
| 586 |
| 587 /** @ingroup iface_zcr_remote_surface_v1 */ |
| 588 static inline void * |
| 589 zcr_remote_surface_v1_get_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur
face_v1) |
| 590 { |
| 591 return wl_proxy_get_user_data((struct wl_proxy *) zcr_remote_surface_v1)
; |
| 592 } |
| 593 |
| 594 static inline uint32_t |
| 595 zcr_remote_surface_v1_get_version(struct zcr_remote_surface_v1 *zcr_remote_surfa
ce_v1) |
| 596 { |
| 597 return wl_proxy_get_version((struct wl_proxy *) zcr_remote_surface_v1); |
| 598 } |
| 599 |
| 600 /** |
| 601 * @ingroup iface_zcr_remote_surface_v1 |
| 602 * |
| 603 * Unmap and destroy the window. The window will be effectively |
| 604 * hidden from the user's point of view, and all state will be lost. |
| 605 */ |
| 606 static inline void |
| 607 zcr_remote_surface_v1_destroy(struct zcr_remote_surface_v1 *zcr_remote_surface_v
1) |
| 608 { |
| 609 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 610 ZCR_REMOTE_SURFACE_V1_DESTROY); |
| 611 |
| 612 wl_proxy_destroy((struct wl_proxy *) zcr_remote_surface_v1); |
| 613 } |
| 614 |
| 615 /** |
| 616 * @ingroup iface_zcr_remote_surface_v1 |
| 617 * |
| 618 * Set an application identifier for the surface. |
| 619 */ |
| 620 static inline void |
| 621 zcr_remote_surface_v1_set_app_id(struct zcr_remote_surface_v1 *zcr_remote_surfac
e_v1, const char *app_id) |
| 622 { |
| 623 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 624 ZCR_REMOTE_SURFACE_V1_SET_APP_ID, app_id); |
| 625 } |
| 626 |
| 627 /** |
| 628 * @ingroup iface_zcr_remote_surface_v1 |
| 629 * |
| 630 * The window geometry of a window is its "visible bounds" from the |
| 631 * user's perspective. Client-side decorations often have invisible |
| 632 * portions like drop-shadows which should be ignored for the |
| 633 * purposes of aligning, placing and constraining windows. |
| 634 * |
| 635 * The window geometry is double buffered, and will be applied at the |
| 636 * time wl_surface.commit of the corresponding wl_surface is called. |
| 637 * |
| 638 * Once the window geometry of the surface is set once, it is not |
| 639 * possible to unset it, and it will remain the same until |
| 640 * set_window_geometry is called again, even if a new subsurface or |
| 641 * buffer is attached. |
| 642 * |
| 643 * If never set, the value is the full bounds of the output. This |
| 644 * updates dynamically on every commit. |
| 645 * |
| 646 * The arguments are given in the output coordinate space. |
| 647 * |
| 648 * The width and height must be greater than zero. |
| 649 */ |
| 650 static inline void |
| 651 zcr_remote_surface_v1_set_window_geometry(struct zcr_remote_surface_v1 *zcr_remo
te_surface_v1, int32_t x, int32_t y, int32_t width, int32_t height) |
| 652 { |
| 653 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 654 ZCR_REMOTE_SURFACE_V1_SET_WINDOW_GEOMETRY, x, y, width,
height); |
| 655 } |
| 656 |
| 657 /** |
| 658 * @ingroup iface_zcr_remote_surface_v1 |
| 659 * |
| 660 * Set a scale factor that will be applied to surface and all descendants. |
| 661 */ |
| 662 static inline void |
| 663 zcr_remote_surface_v1_set_scale(struct zcr_remote_surface_v1 *zcr_remote_surface
_v1, wl_fixed_t scale) |
| 664 { |
| 665 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 666 ZCR_REMOTE_SURFACE_V1_SET_SCALE, scale); |
| 667 } |
| 668 |
| 669 /** |
| 670 * @ingroup iface_zcr_remote_surface_v1 |
| 671 * |
| 672 * Request that surface needs a rectangular shadow. |
| 673 * |
| 674 * This is only a request that the surface should have a rectangular |
| 675 * shadow. The compositor may choose to ignore this request. |
| 676 * |
| 677 * The arguments are given in the output coordinate space and specifies |
| 678 * the inner bounds of the shadow. |
| 679 * |
| 680 * The arguments are given in the output coordinate space. |
| 681 * Specifying zero width and height will disable the shadow. |
| 682 */ |
| 683 static inline void |
| 684 zcr_remote_surface_v1_set_rectangular_shadow(struct zcr_remote_surface_v1 *zcr_r
emote_surface_v1, int32_t x, int32_t y, int32_t width, int32_t height) |
| 685 { |
| 686 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 687 ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW, x, y, wid
th, height); |
| 688 } |
| 689 |
| 690 /** |
| 691 * @ingroup iface_zcr_remote_surface_v1 |
| 692 * |
| 693 * Suggests the window's background opacity when the shadow is requested. |
| 694 */ |
| 695 static inline void |
| 696 zcr_remote_surface_v1_set_rectangular_shadow_background_opacity(struct zcr_remot
e_surface_v1 *zcr_remote_surface_v1, wl_fixed_t opacity) |
| 697 { |
| 698 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 699 ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND
_OPACITY, opacity); |
| 700 } |
| 701 |
| 702 /** |
| 703 * @ingroup iface_zcr_remote_surface_v1 |
| 704 * |
| 705 * Set a short title for the surface. |
| 706 * |
| 707 * This string may be used to identify the surface in a task bar, |
| 708 * window list, or other user interface elements provided by the |
| 709 * compositor. |
| 710 * |
| 711 * The string must be encoded in UTF-8. |
| 712 */ |
| 713 static inline void |
| 714 zcr_remote_surface_v1_set_title(struct zcr_remote_surface_v1 *zcr_remote_surface
_v1, const char *title) |
| 715 { |
| 716 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 717 ZCR_REMOTE_SURFACE_V1_SET_TITLE, title); |
| 718 } |
| 719 |
| 720 /** |
| 721 * @ingroup iface_zcr_remote_surface_v1 |
| 722 * |
| 723 * Set distance from the top of the surface to the contents. |
| 724 * |
| 725 * This distance typically represents the size of the window caption. |
| 726 */ |
| 727 static inline void |
| 728 zcr_remote_surface_v1_set_top_inset(struct zcr_remote_surface_v1 *zcr_remote_sur
face_v1, int32_t height) |
| 729 { |
| 730 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 731 ZCR_REMOTE_SURFACE_V1_SET_TOP_INSET, height); |
| 732 } |
| 733 |
| 734 /** |
| 735 * @ingroup iface_zcr_remote_surface_v1 |
| 736 * |
| 737 * Make the surface active and bring it to the front. |
| 738 */ |
| 739 static inline void |
| 740 zcr_remote_surface_v1_activate(struct zcr_remote_surface_v1 *zcr_remote_surface_
v1, uint32_t serial) |
| 741 { |
| 742 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 743 ZCR_REMOTE_SURFACE_V1_ACTIVATE, serial); |
| 744 } |
| 745 |
| 746 /** |
| 747 * @ingroup iface_zcr_remote_surface_v1 |
| 748 * |
| 749 * Request that surface is maximized. The window geometry will be updated |
| 750 * to whatever the compositor finds appropriate for a maximized window. |
| 751 * |
| 752 * This is only a request that the window should be maximized. The |
| 753 * compositor may choose to ignore this request. The client should |
| 754 * listen to set_maximized events to determine if the window was |
| 755 * maximized or not. |
| 756 */ |
| 757 static inline void |
| 758 zcr_remote_surface_v1_maximize(struct zcr_remote_surface_v1 *zcr_remote_surface_
v1) |
| 759 { |
| 760 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 761 ZCR_REMOTE_SURFACE_V1_MAXIMIZE); |
| 762 } |
| 763 |
| 764 /** |
| 765 * @ingroup iface_zcr_remote_surface_v1 |
| 766 * |
| 767 * Request that surface is minimized. |
| 768 * |
| 769 * This is only a request that the window should be minimized. The |
| 770 * compositor may choose to ignore this request. The client should |
| 771 * listen to set_minimized events to determine if the window was |
| 772 * minimized or not. |
| 773 */ |
| 774 static inline void |
| 775 zcr_remote_surface_v1_minimize(struct zcr_remote_surface_v1 *zcr_remote_surface_
v1) |
| 776 { |
| 777 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 778 ZCR_REMOTE_SURFACE_V1_MINIMIZE); |
| 779 } |
| 780 |
| 781 /** |
| 782 * @ingroup iface_zcr_remote_surface_v1 |
| 783 * |
| 784 * Request that surface is restored. This restores the window geometry |
| 785 * to what it was before the window was minimized, maximized or made |
| 786 * fullscreen. |
| 787 * |
| 788 * This is only a request that the window should be restored. The |
| 789 * compositor may choose to ignore this request. The client should |
| 790 * listen to unset_maximized, unset_minimize and unset_fullscreen |
| 791 * events to determine if the window was restored or not. |
| 792 */ |
| 793 static inline void |
| 794 zcr_remote_surface_v1_restore(struct zcr_remote_surface_v1 *zcr_remote_surface_v
1) |
| 795 { |
| 796 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 797 ZCR_REMOTE_SURFACE_V1_RESTORE); |
| 798 } |
| 799 |
| 800 /** |
| 801 * @ingroup iface_zcr_remote_surface_v1 |
| 802 * |
| 803 * Request that surface is made fullscreen. |
| 804 * |
| 805 * This is only a request that the window should be made fullscreen. |
| 806 * The compositor may choose to ignore this request. The client should |
| 807 * listen to set_fullscreen events to determine if the window was |
| 808 * made fullscreen or not. |
| 809 */ |
| 810 static inline void |
| 811 zcr_remote_surface_v1_fullscreen(struct zcr_remote_surface_v1 *zcr_remote_surfac
e_v1) |
| 812 { |
| 813 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 814 ZCR_REMOTE_SURFACE_V1_FULLSCREEN); |
| 815 } |
| 816 |
| 817 /** |
| 818 * @ingroup iface_zcr_remote_surface_v1 |
| 819 * |
| 820 * Request that surface is made unfullscreen. |
| 821 * |
| 822 * This is only a request that the window should be made unfullscreen. |
| 823 * The compositor may choose to ignore this request. The client should |
| 824 * listen to unset_fullscreen events to determine if the window was |
| 825 * made unfullscreen or not. |
| 826 */ |
| 827 static inline void |
| 828 zcr_remote_surface_v1_unfullscreen(struct zcr_remote_surface_v1 *zcr_remote_surf
ace_v1) |
| 829 { |
| 830 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 831 ZCR_REMOTE_SURFACE_V1_UNFULLSCREEN); |
| 832 } |
| 833 |
| 834 /** |
| 835 * @ingroup iface_zcr_remote_surface_v1 |
| 836 * |
| 837 * Request that surface is pinned. |
| 838 * |
| 839 * This is only a request that the window should be pinned. |
| 840 * The compositor may choose to ignore this request. The client should |
| 841 * listen to state_changed events to determine if the window was |
| 842 * pinned or not. If trusted flag is non-zero, the app can prevent users |
| 843 * from exiting the pinned mode. |
| 844 */ |
| 845 static inline void |
| 846 zcr_remote_surface_v1_pin(struct zcr_remote_surface_v1 *zcr_remote_surface_v1, i
nt32_t trusted) |
| 847 { |
| 848 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 849 ZCR_REMOTE_SURFACE_V1_PIN, trusted); |
| 850 } |
| 851 |
| 852 /** |
| 853 * @ingroup iface_zcr_remote_surface_v1 |
| 854 * |
| 855 * Request that surface is unpinned. |
| 856 * |
| 857 * This is only a request that the window should be unpinned. |
| 858 * The compositor may choose to ignore this request. The client should |
| 859 * listen to unset_pinned events to determine if the window was |
| 860 * unpinned or not. |
| 861 */ |
| 862 static inline void |
| 863 zcr_remote_surface_v1_unpin(struct zcr_remote_surface_v1 *zcr_remote_surface_v1) |
| 864 { |
| 865 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 866 ZCR_REMOTE_SURFACE_V1_UNPIN); |
| 867 } |
| 868 |
| 869 /** |
| 870 * @ingroup iface_zcr_remote_surface_v1 |
| 871 * |
| 872 * Suggests a surface should become system modal. |
| 873 */ |
| 874 static inline void |
| 875 zcr_remote_surface_v1_set_system_modal(struct zcr_remote_surface_v1 *zcr_remote_
surface_v1) |
| 876 { |
| 877 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 878 ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL); |
| 879 } |
| 880 |
| 881 /** |
| 882 * @ingroup iface_zcr_remote_surface_v1 |
| 883 * |
| 884 * Suggests a surface should become non system modal. |
| 885 */ |
| 886 static inline void |
| 887 zcr_remote_surface_v1_unset_system_modal(struct zcr_remote_surface_v1 *zcr_remot
e_surface_v1) |
| 888 { |
| 889 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 890 ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL); |
| 891 } |
| 892 |
| 893 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY 0 |
| 894 |
| 895 /** |
| 896 * @ingroup iface_zcr_notification_surface_v1 |
| 897 */ |
| 898 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
| 899 |
| 900 /** @ingroup iface_zcr_notification_surface_v1 */ |
| 901 static inline void |
| 902 zcr_notification_surface_v1_set_user_data(struct zcr_notification_surface_v1 *zc
r_notification_surface_v1, void *user_data) |
| 903 { |
| 904 wl_proxy_set_user_data((struct wl_proxy *) zcr_notification_surface_v1,
user_data); |
| 905 } |
| 906 |
| 907 /** @ingroup iface_zcr_notification_surface_v1 */ |
| 908 static inline void * |
| 909 zcr_notification_surface_v1_get_user_data(struct zcr_notification_surface_v1 *zc
r_notification_surface_v1) |
| 910 { |
| 911 return wl_proxy_get_user_data((struct wl_proxy *) zcr_notification_surfa
ce_v1); |
| 912 } |
| 913 |
| 914 static inline uint32_t |
| 915 zcr_notification_surface_v1_get_version(struct zcr_notification_surface_v1 *zcr_
notification_surface_v1) |
| 916 { |
| 917 return wl_proxy_get_version((struct wl_proxy *) zcr_notification_surface
_v1); |
| 918 } |
| 919 |
| 920 /** |
| 921 * @ingroup iface_zcr_notification_surface_v1 |
| 922 * |
| 923 * Unmap and destroy the notification surface. |
| 924 */ |
| 925 static inline void |
| 926 zcr_notification_surface_v1_destroy(struct zcr_notification_surface_v1 *zcr_noti
fication_surface_v1) |
| 927 { |
| 928 wl_proxy_marshal((struct wl_proxy *) zcr_notification_surface_v1, |
| 929 ZCR_NOTIFICATION_SURFACE_V1_DESTROY); |
| 930 |
| 931 wl_proxy_destroy((struct wl_proxy *) zcr_notification_surface_v1); |
| 932 } |
| 933 |
137 #ifndef ZWP_REMOTE_SHELL_V1_CONTAINER_ENUM | 934 #ifndef ZWP_REMOTE_SHELL_V1_CONTAINER_ENUM |
138 #define ZWP_REMOTE_SHELL_V1_CONTAINER_ENUM | 935 #define ZWP_REMOTE_SHELL_V1_CONTAINER_ENUM |
139 /** | 936 /** |
140 * @ingroup iface_zwp_remote_shell_v1 | 937 * @ingroup iface_zwp_remote_shell_v1 |
141 * containers for remote surfaces | 938 * containers for remote surfaces |
142 * | 939 * |
143 * Determine how a remote surface should be stacked relative to other | 940 * Determine how a remote surface should be stacked relative to other |
144 * shell surfaces. | 941 * shell surfaces. |
145 */ | 942 */ |
146 enum zwp_remote_shell_v1_container { | 943 enum zwp_remote_shell_v1_container { |
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 ZWP_NOTIFICATION_SURFACE_V1_DESTROY); | 1797 ZWP_NOTIFICATION_SURFACE_V1_DESTROY); |
1001 | 1798 |
1002 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1); | 1799 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1); |
1003 } | 1800 } |
1004 | 1801 |
1005 #ifdef __cplusplus | 1802 #ifdef __cplusplus |
1006 } | 1803 } |
1007 #endif | 1804 #endif |
1008 | 1805 |
1009 #endif | 1806 #endif |
OLD | NEW |