Skip to content

Commit

Permalink
wlroots: re-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijenbergh committed May 5, 2024
1 parent 7fb2d97 commit 74ddbca
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 23 deletions.
2 changes: 1 addition & 1 deletion wlroots/include/idle-inhibit-unstable-v1-protocol.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.21.0 */
/* Generated by wayland-scanner 1.22.0 */

#ifndef IDLE_INHIBIT_UNSTABLE_V1_SERVER_PROTOCOL_H
#define IDLE_INHIBIT_UNSTABLE_V1_SERVER_PROTOCOL_H
Expand Down
2 changes: 1 addition & 1 deletion wlroots/include/pointer-constraints-unstable-v1-protocol.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.21.0 */
/* Generated by wayland-scanner 1.22.0 */

#ifndef POINTER_CONSTRAINTS_UNSTABLE_V1_SERVER_PROTOCOL_H
#define POINTER_CONSTRAINTS_UNSTABLE_V1_SERVER_PROTOCOL_H
Expand Down
2 changes: 1 addition & 1 deletion wlroots/include/wlr-layer-shell-unstable-v1-protocol.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.21.0 */
/* Generated by wayland-scanner 1.22.0 */

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

#ifndef WLR_OUTPUT_POWER_MANAGEMENT_UNSTABLE_V1_SERVER_PROTOCOL_H
#define WLR_OUTPUT_POWER_MANAGEMENT_UNSTABLE_V1_SERVER_PROTOCOL_H
Expand Down
66 changes: 47 additions & 19 deletions wlroots/include/xdg-shell-protocol.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated by wayland-scanner 1.21.0 */
/* Generated by wayland-scanner 1.22.0 */

#ifndef XDG_SHELL_SERVER_PROTOCOL_H
#define XDG_SHELL_SERVER_PROTOCOL_H
Expand Down Expand Up @@ -172,8 +172,10 @@ extern const struct wl_interface xdg_positioner_interface;
*
* After creating a role-specific object and setting it up, the client must
* perform an initial commit without any buffer attached. The compositor
* will reply with an xdg_surface.configure event. The client must
* acknowledge it and is then allowed to attach a buffer to map the surface.
* will reply with initial wl_surface state such as
* wl_surface.preferred_buffer_scale followed by an xdg_surface.configure
* event. The client must acknowledge it and is then allowed to attach a
* buffer to map the surface.
*
* Mapping an xdg_surface-based role surface is defined as making it
* possible for the surface to be shown by the compositor. Note that
Expand Down Expand Up @@ -223,8 +225,10 @@ extern const struct wl_interface xdg_positioner_interface;
*
* After creating a role-specific object and setting it up, the client must
* perform an initial commit without any buffer attached. The compositor
* will reply with an xdg_surface.configure event. The client must
* acknowledge it and is then allowed to attach a buffer to map the surface.
* will reply with initial wl_surface state such as
* wl_surface.preferred_buffer_scale followed by an xdg_surface.configure
* event. The client must acknowledge it and is then allowed to attach a
* buffer to map the surface.
*
* Mapping an xdg_surface-based role surface is defined as making it
* possible for the surface to be shown by the compositor. Note that
Expand Down Expand Up @@ -959,13 +963,22 @@ struct xdg_surface_interface {
* commit. This unset is meant for extremely simple clients.
*
* The arguments are given in the surface-local coordinate space of
* the wl_surface associated with this xdg_surface.
* the wl_surface associated with this xdg_surface, and may extend
* outside of the wl_surface itself to mark parts of the subsurface
* tree as part of the window geometry.
*
* The width and height must be greater than zero. Setting an
* invalid size will raise an invalid_size error. When applied, the
* effective window geometry will be the set window geometry
* clamped to the bounding rectangle of the combined geometry of
* the surface of the xdg_surface and the associated subsurfaces.
* When applied, the effective window geometry will be the set
* window geometry clamped to the bounding rectangle of the
* combined geometry of the surface of the xdg_surface and the
* associated subsurfaces.
*
* The effective geometry will not be recalculated unless a new
* call to set_window_geometry is done and the new pending surface
* state is subsequently applied.
*
* The width and height of the effective window geometry must be
* greater than zero. Setting an invalid size will raise an
* invalid_size error.
*/
void (*set_window_geometry)(struct wl_client *client,
struct wl_resource *resource,
Expand Down Expand Up @@ -1117,7 +1130,8 @@ enum xdg_toplevel_state {
* the surface is maximized
*
* The surface is maximized. The window geometry specified in the
* configure event must be obeyed by the client.
* configure event must be obeyed by the client, or the
* xdg_wm_base.invalid_surface_state error is raised.
*
* The client should draw without shadow or other decoration
* outside of the window geometry.
Expand Down Expand Up @@ -1185,6 +1199,15 @@ enum xdg_toplevel_state {
* @since 2
*/
XDG_TOPLEVEL_STATE_TILED_BOTTOM = 8,
/**
* surface repaint is suspended
*
* The surface is currently not ordinarily being repainted; for
* example because its content is occluded by another window, or
* its outputs are switched off due to screen locking.
* @since 6
*/
XDG_TOPLEVEL_STATE_SUSPENDED = 9,
};
/**
* @ingroup iface_xdg_toplevel
Expand All @@ -1202,6 +1225,10 @@ enum xdg_toplevel_state {
* @ingroup iface_xdg_toplevel
*/
#define XDG_TOPLEVEL_STATE_TILED_BOTTOM_SINCE_VERSION 2
/**
* @ingroup iface_xdg_toplevel
*/
#define XDG_TOPLEVEL_STATE_SUSPENDED_SINCE_VERSION 6
#endif /* XDG_TOPLEVEL_STATE_ENUM */

#ifndef XDG_TOPLEVEL_WM_CAPABILITIES_ENUM
Expand Down Expand Up @@ -1397,11 +1424,12 @@ struct xdg_toplevel_interface {
*
* The edges parameter specifies how the surface should be resized,
* and is one of the values of the resize_edge enum. Values not
* matching a variant of the enum will cause a protocol error. The
* compositor may use this information to update the surface
* position for example when dragging the top left corner. The
* compositor may also use this information to adapt its behavior,
* e.g. choose an appropriate cursor image.
* matching a variant of the enum will cause the
* invalid_resize_edge protocol error. The compositor may use this
* information to update the surface position for example when
* dragging the top left corner. The compositor may also use this
* information to adapt its behavior, e.g. choose an appropriate
* cursor image.
* @param seat the wl_seat of the user event
* @param serial the serial of the user event
* @param edges which edge or corner is being dragged
Expand Down Expand Up @@ -1765,8 +1793,8 @@ struct xdg_popup_interface {
* This destroys the popup. Explicitly destroying the xdg_popup
* object will also dismiss the popup, and unmap the surface.
*
* If this xdg_popup is not the "topmost" popup, a protocol error
* will be sent.
* If this xdg_popup is not the "topmost" popup, the
* xdg_wm_base.not_the_topmost_popup protocol error will be sent.
*/
void (*destroy)(struct wl_client *client,
struct wl_resource *resource);
Expand Down

0 comments on commit 74ddbca

Please sign in to comment.