Skip to content

Commit

Permalink
Update wayland headers
Browse files Browse the repository at this point in the history
  • Loading branch information
gen2brain committed Dec 7, 2024
1 parent 659b070 commit a9ad86d
Show file tree
Hide file tree
Showing 18 changed files with 280 additions and 88 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

/*
* Copyright © 2022 Kenny Levinsen
Expand All @@ -23,6 +23,7 @@
* DEALINGS IN THE SOFTWARE.
*/

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

#ifndef FRACTIONAL_SCALE_V1_CLIENT_PROTOCOL_H
#define FRACTIONAL_SCALE_V1_CLIENT_PROTOCOL_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

/*
* Copyright © 2015 Samsung Electronics Co., Ltd
Expand All @@ -23,6 +23,7 @@
* DEALINGS IN THE SOFTWARE.
*/

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

#ifndef IDLE_INHIBIT_UNSTABLE_V1_CLIENT_PROTOCOL_H
#define IDLE_INHIBIT_UNSTABLE_V1_CLIENT_PROTOCOL_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

/*
* Copyright © 2014 Jonas Ådahl
Expand All @@ -24,6 +24,7 @@
* DEALINGS IN THE SOFTWARE.
*/

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

#ifndef POINTER_CONSTRAINTS_UNSTABLE_V1_CLIENT_PROTOCOL_H
#define POINTER_CONSTRAINTS_UNSTABLE_V1_CLIENT_PROTOCOL_H
Expand Down Expand Up @@ -512,9 +512,8 @@ zwp_locked_pointer_v1_destroy(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v
* information to warp the pointer upon unlock in order to avoid pointer
* jumps.
*
* The cursor position hint is double buffered. The new hint will only take
* effect when the associated surface gets it pending state applied. See
* wl_surface.commit for details.
* The cursor position hint is double-buffered state, see
* wl_surface.commit.
*/
static inline void
zwp_locked_pointer_v1_set_cursor_position_hint(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, wl_fixed_t surface_x, wl_fixed_t surface_y)
Expand All @@ -528,9 +527,7 @@ zwp_locked_pointer_v1_set_cursor_position_hint(struct zwp_locked_pointer_v1 *zwp
*
* Set a new region used to lock the pointer.
*
* The new lock region is double-buffered. The new lock region will
* only take effect when the associated surface gets its pending state
* applied. See wl_surface.commit for details.
* The new lock region is double-buffered, see wl_surface.commit.
*
* For details about the lock region, see wp_locked_pointer.
*/
Expand Down Expand Up @@ -638,9 +635,7 @@ zwp_confined_pointer_v1_destroy(struct zwp_confined_pointer_v1 *zwp_confined_poi
*
* Set a new region used to confine the pointer.
*
* The new confine region is double-buffered. The new confine region will
* only take effect when the associated surface gets its pending state
* applied. See wl_surface.commit for details.
* The new confine region is double-buffered, see wl_surface.commit.
*
* If the confinement is active when the new confinement region is applied
* and the pointer ends up outside of newly applied region, the pointer may
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

/*
* Copyright © 2014 Jonas Ådahl
Expand All @@ -24,6 +24,7 @@
* DEALINGS IN THE SOFTWARE.
*/

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

#ifndef RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H
#define RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H
Expand Down
3 changes: 2 additions & 1 deletion raylib/external/glfw/src/viewporter-client-protocol-code.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

/*
* Copyright © 2013-2016 Collabora, Ltd.
Expand All @@ -23,6 +23,7 @@
* DEALINGS IN THE SOFTWARE.
*/

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
Expand Down
14 changes: 5 additions & 9 deletions raylib/external/glfw/src/viewporter-client-protocol.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

#ifndef VIEWPORTER_CLIENT_PROTOCOL_H
#define VIEWPORTER_CLIENT_PROTOCOL_H
Expand Down Expand Up @@ -86,8 +86,7 @@ extern const struct wl_interface wp_viewporter_interface;
* src_y, src_width, src_height), and the destination size (dst_width,
* dst_height). The contents of the source rectangle are scaled to the
* destination size, and content outside the source rectangle is ignored.
* This state is double-buffered, and is applied on the next
* wl_surface.commit.
* This state is double-buffered, see wl_surface.commit.
*
* The two parts of crop and scale state are independent: the source
* rectangle, and the destination size. Initially both are unset, that
Expand Down Expand Up @@ -147,8 +146,7 @@ extern const struct wl_interface wp_viewporter_interface;
* src_y, src_width, src_height), and the destination size (dst_width,
* dst_height). The contents of the source rectangle are scaled to the
* destination size, and content outside the source rectangle is ignored.
* This state is double-buffered, and is applied on the next
* wl_surface.commit.
* This state is double-buffered, see wl_surface.commit.
*
* The two parts of crop and scale state are independent: the source
* rectangle, and the destination size. Initially both are unset, that
Expand Down Expand Up @@ -359,8 +357,7 @@ wp_viewport_destroy(struct wp_viewport *wp_viewport)
* or negative, or x or y are negative, raise the bad_value protocol
* error.
*
* The crop and scale state is double-buffered state, and will be
* applied on the next wl_surface.commit.
* The crop and scale state is double-buffered, see wl_surface.commit.
*/
static inline void
wp_viewport_set_source(struct wp_viewport *wp_viewport, wl_fixed_t x, wl_fixed_t y, wl_fixed_t width, wl_fixed_t height)
Expand All @@ -381,8 +378,7 @@ wp_viewport_set_source(struct wp_viewport *wp_viewport, wl_fixed_t x, wl_fixed_t
* contains zero or negative values raises the bad_value protocol
* error.
*
* The crop and scale state is double-buffered state, and will be
* applied on the next wl_surface.commit.
* The crop and scale state is double-buffered, see wl_surface.commit.
*/
static inline void
wp_viewport_set_destination(struct wp_viewport *wp_viewport, int32_t width, int32_t height)
Expand Down
23 changes: 18 additions & 5 deletions raylib/external/glfw/src/wayland-client-protocol-code.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.22.0 */
/* Generated by wayland-scanner 1.23.1 */

/*
* Copyright © 2008-2011 Kristian Høgsberg
Expand Down Expand Up @@ -27,6 +27,7 @@
* SOFTWARE.
*/

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
Expand Down Expand Up @@ -154,6 +155,7 @@ static const struct wl_interface *wayland_types[] = {
&wl_surface_interface,
&wl_surface_interface,
&wl_surface_interface,
&wl_registry_interface,
};

static const struct wl_message wl_display_requests[] = {
Expand Down Expand Up @@ -397,7 +399,7 @@ static const struct wl_message wl_seat_events[] = {
};

WL_PRIVATE const struct wl_interface wl_seat_interface = {
"wl_seat", 9,
"wl_seat", 10,
4, wl_seat_requests,
2, wl_seat_events,
};
Expand All @@ -422,7 +424,7 @@ static const struct wl_message wl_pointer_events[] = {
};

WL_PRIVATE const struct wl_interface wl_pointer_interface = {
"wl_pointer", 9,
"wl_pointer", 10,
2, wl_pointer_requests,
11, wl_pointer_events,
};
Expand All @@ -441,7 +443,7 @@ static const struct wl_message wl_keyboard_events[] = {
};

WL_PRIVATE const struct wl_interface wl_keyboard_interface = {
"wl_keyboard", 9,
"wl_keyboard", 10,
1, wl_keyboard_requests,
6, wl_keyboard_events,
};
Expand All @@ -461,7 +463,7 @@ static const struct wl_message wl_touch_events[] = {
};

WL_PRIVATE const struct wl_interface wl_touch_interface = {
"wl_touch", 9,
"wl_touch", 10,
1, wl_touch_requests,
7, wl_touch_events,
};
Expand Down Expand Up @@ -523,3 +525,14 @@ WL_PRIVATE const struct wl_interface wl_subsurface_interface = {
0, NULL,
};

static const struct wl_message wl_fixes_requests[] = {
{ "destroy", "", wayland_types + 0 },
{ "destroy_registry", "o", wayland_types + 95 },
};

WL_PRIVATE const struct wl_interface wl_fixes_interface = {
"wl_fixes", 1,
2, wl_fixes_requests,
0, NULL,
};

Loading

0 comments on commit a9ad86d

Please sign in to comment.