Loading...
Searching...
No Matches
wayland-server-protocol-unstable.hpp
#pragma once
#include <array>
#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <vector>
#include <wayland-server.hpp>
#include <wayland-server-protocol-extra.hpp>
struct zwp_fullscreen_shell_v1;
struct zwp_fullscreen_shell_mode_feedback_v1;
struct zwp_idle_inhibit_manager_v1;
struct zwp_idle_inhibitor_v1;
struct zwp_input_method_context_v1;
struct zwp_input_method_v1;
struct zwp_input_panel_v1;
struct zwp_input_panel_surface_v1;
struct zwp_input_timestamps_manager_v1;
struct zwp_input_timestamps_v1;
struct zwp_keyboard_shortcuts_inhibit_manager_v1;
struct zwp_keyboard_shortcuts_inhibitor_v1;
struct zwp_linux_dmabuf_v1;
struct zwp_linux_buffer_params_v1;
struct zwp_linux_dmabuf_feedback_v1;
struct zwp_linux_explicit_synchronization_v1;
struct zwp_linux_surface_synchronization_v1;
struct zwp_linux_buffer_release_v1;
struct zwp_pointer_constraints_v1;
struct zwp_locked_pointer_v1;
struct zwp_confined_pointer_v1;
struct zwp_pointer_gestures_v1;
struct zwp_pointer_gesture_swipe_v1;
struct zwp_pointer_gesture_pinch_v1;
struct zwp_pointer_gesture_hold_v1;
struct zwp_primary_selection_device_manager_v1;
struct zwp_primary_selection_device_v1;
struct zwp_primary_selection_offer_v1;
struct zwp_primary_selection_source_v1;
struct zwp_relative_pointer_manager_v1;
struct zwp_relative_pointer_v1;
struct zwp_tablet_manager_v1;
struct zwp_tablet_seat_v1;
struct zwp_tablet_tool_v1;
struct zwp_tablet_v1;
struct zwp_tablet_manager_v2;
struct zwp_tablet_seat_v2;
struct zwp_tablet_tool_v2;
struct zwp_tablet_v2;
struct zwp_tablet_pad_ring_v2;
struct zwp_tablet_pad_strip_v2;
struct zwp_tablet_pad_group_v2;
struct zwp_tablet_pad_v2;
struct zwp_text_input_v1;
struct zwp_text_input_manager_v1;
struct zwp_text_input_v3;
struct zwp_text_input_manager_v3;
struct xdg_activation_v1;
struct xdg_activation_token_v1;
struct zxdg_decoration_manager_v1;
struct zxdg_toplevel_decoration_v1;
struct zxdg_exporter_v1;
struct zxdg_importer_v1;
struct zxdg_exported_v1;
struct zxdg_imported_v1;
struct zxdg_exporter_v2;
struct zxdg_importer_v2;
struct zxdg_exported_v2;
struct zxdg_imported_v2;
struct zxdg_output_manager_v1;
struct zxdg_output_v1;
struct zxdg_shell_v6;
struct zxdg_positioner_v6;
struct zxdg_surface_v6;
struct zxdg_toplevel_v6;
struct zxdg_popup_v6;
struct zwp_xwayland_keyboard_grab_manager_v1;
struct zwp_xwayland_keyboard_grab_v1;
namespace wayland
{
namespace server
{
class zwp_fullscreen_shell_v1_t;
enum class zwp_fullscreen_shell_v1_capability : uint32_t;
enum class zwp_fullscreen_shell_v1_present_method : uint32_t;
enum class zwp_fullscreen_shell_v1_error : uint32_t;
class zwp_fullscreen_shell_mode_feedback_v1_t;
class zwp_idle_inhibit_manager_v1_t;
class zwp_idle_inhibitor_v1_t;
class zwp_input_method_context_v1_t;
class zwp_input_method_v1_t;
class zwp_input_panel_v1_t;
class zwp_input_panel_surface_v1_t;
enum class zwp_input_panel_surface_v1_position : uint32_t;
class zwp_input_timestamps_manager_v1_t;
class zwp_input_timestamps_v1_t;
class zwp_keyboard_shortcuts_inhibit_manager_v1_t;
enum class zwp_keyboard_shortcuts_inhibit_manager_v1_error : uint32_t;
class zwp_keyboard_shortcuts_inhibitor_v1_t;
class zwp_linux_dmabuf_v1_t;
class zwp_linux_buffer_params_v1_t;
enum class zwp_linux_buffer_params_v1_error : uint32_t;
struct zwp_linux_buffer_params_v1_flags;
class zwp_linux_dmabuf_feedback_v1_t;
struct zwp_linux_dmabuf_feedback_v1_tranche_flags;
class zwp_linux_explicit_synchronization_v1_t;
enum class zwp_linux_explicit_synchronization_v1_error : uint32_t;
class zwp_linux_surface_synchronization_v1_t;
enum class zwp_linux_surface_synchronization_v1_error : uint32_t;
class zwp_linux_buffer_release_v1_t;
class zwp_pointer_constraints_v1_t;
enum class zwp_pointer_constraints_v1_error : uint32_t;
enum class zwp_pointer_constraints_v1_lifetime : uint32_t;
class zwp_locked_pointer_v1_t;
class zwp_confined_pointer_v1_t;
class zwp_pointer_gestures_v1_t;
class zwp_pointer_gesture_swipe_v1_t;
class zwp_pointer_gesture_pinch_v1_t;
class zwp_pointer_gesture_hold_v1_t;
class zwp_primary_selection_device_manager_v1_t;
class zwp_primary_selection_device_v1_t;
class zwp_primary_selection_offer_v1_t;
class zwp_primary_selection_source_v1_t;
class zwp_relative_pointer_manager_v1_t;
class zwp_relative_pointer_v1_t;
class zwp_tablet_manager_v1_t;
class zwp_tablet_seat_v1_t;
class zwp_tablet_tool_v1_t;
enum class zwp_tablet_tool_v1_type : uint32_t;
enum class zwp_tablet_tool_v1_capability : uint32_t;
enum class zwp_tablet_tool_v1_button_state : uint32_t;
enum class zwp_tablet_tool_v1_error : uint32_t;
class zwp_tablet_v1_t;
class zwp_tablet_manager_v2_t;
class zwp_tablet_seat_v2_t;
class zwp_tablet_tool_v2_t;
enum class zwp_tablet_tool_v2_type : uint32_t;
enum class zwp_tablet_tool_v2_capability : uint32_t;
enum class zwp_tablet_tool_v2_button_state : uint32_t;
enum class zwp_tablet_tool_v2_error : uint32_t;
class zwp_tablet_v2_t;
class zwp_tablet_pad_ring_v2_t;
enum class zwp_tablet_pad_ring_v2_source : uint32_t;
class zwp_tablet_pad_strip_v2_t;
enum class zwp_tablet_pad_strip_v2_source : uint32_t;
class zwp_tablet_pad_group_v2_t;
class zwp_tablet_pad_v2_t;
enum class zwp_tablet_pad_v2_button_state : uint32_t;
class zwp_text_input_v1_t;
struct zwp_text_input_v1_content_hint;
enum class zwp_text_input_v1_content_purpose : uint32_t;
enum class zwp_text_input_v1_preedit_style : uint32_t;
enum class zwp_text_input_v1_text_direction : uint32_t;
class zwp_text_input_manager_v1_t;
class zwp_text_input_v3_t;
enum class zwp_text_input_v3_change_cause : uint32_t;
struct zwp_text_input_v3_content_hint;
enum class zwp_text_input_v3_content_purpose : uint32_t;
class zwp_text_input_manager_v3_t;
class xdg_activation_v1_t;
class xdg_activation_token_v1_t;
enum class xdg_activation_token_v1_error : uint32_t;
class zxdg_decoration_manager_v1_t;
class zxdg_toplevel_decoration_v1_t;
enum class zxdg_toplevel_decoration_v1_error : uint32_t;
enum class zxdg_toplevel_decoration_v1_mode : uint32_t;
class zxdg_exporter_v1_t;
class zxdg_importer_v1_t;
class zxdg_exported_v1_t;
class zxdg_imported_v1_t;
class zxdg_exporter_v2_t;
enum class zxdg_exporter_v2_error : uint32_t;
class zxdg_importer_v2_t;
class zxdg_exported_v2_t;
class zxdg_imported_v2_t;
enum class zxdg_imported_v2_error : uint32_t;
class zxdg_output_manager_v1_t;
class zxdg_output_v1_t;
class zxdg_shell_v6_t;
enum class zxdg_shell_v6_error : uint32_t;
class zxdg_positioner_v6_t;
enum class zxdg_positioner_v6_error : uint32_t;
struct zxdg_positioner_v6_anchor;
struct zxdg_positioner_v6_gravity;
struct zxdg_positioner_v6_constraint_adjustment;
class zxdg_surface_v6_t;
enum class zxdg_surface_v6_error : uint32_t;
class zxdg_toplevel_v6_t;
struct zxdg_toplevel_v6_resize_edge;
enum class zxdg_toplevel_v6_state : uint32_t;
class zxdg_popup_v6_t;
enum class zxdg_popup_v6_error : uint32_t;
class zwp_xwayland_keyboard_grab_manager_v1_t;
class zwp_xwayland_keyboard_grab_v1_t;
namespace detail
{
extern const wl_interface zwp_fullscreen_shell_v1_interface;
extern const wl_interface zwp_fullscreen_shell_mode_feedback_v1_interface;
extern const wl_interface zwp_idle_inhibit_manager_v1_interface;
extern const wl_interface zwp_idle_inhibitor_v1_interface;
extern const wl_interface zwp_input_method_context_v1_interface;
extern const wl_interface zwp_input_method_v1_interface;
extern const wl_interface zwp_input_panel_v1_interface;
extern const wl_interface zwp_input_panel_surface_v1_interface;
extern const wl_interface zwp_input_timestamps_manager_v1_interface;
extern const wl_interface zwp_input_timestamps_v1_interface;
extern const wl_interface zwp_keyboard_shortcuts_inhibit_manager_v1_interface;
extern const wl_interface zwp_keyboard_shortcuts_inhibitor_v1_interface;
extern const wl_interface zwp_linux_dmabuf_v1_interface;
extern const wl_interface zwp_linux_buffer_params_v1_interface;
extern const wl_interface zwp_linux_dmabuf_feedback_v1_interface;
extern const wl_interface zwp_linux_explicit_synchronization_v1_interface;
extern const wl_interface zwp_linux_surface_synchronization_v1_interface;
extern const wl_interface zwp_linux_buffer_release_v1_interface;
extern const wl_interface zwp_pointer_constraints_v1_interface;
extern const wl_interface zwp_locked_pointer_v1_interface;
extern const wl_interface zwp_confined_pointer_v1_interface;
extern const wl_interface zwp_pointer_gestures_v1_interface;
extern const wl_interface zwp_pointer_gesture_swipe_v1_interface;
extern const wl_interface zwp_pointer_gesture_pinch_v1_interface;
extern const wl_interface zwp_pointer_gesture_hold_v1_interface;
extern const wl_interface zwp_primary_selection_device_manager_v1_interface;
extern const wl_interface zwp_primary_selection_device_v1_interface;
extern const wl_interface zwp_primary_selection_offer_v1_interface;
extern const wl_interface zwp_primary_selection_source_v1_interface;
extern const wl_interface zwp_relative_pointer_manager_v1_interface;
extern const wl_interface zwp_relative_pointer_v1_interface;
extern const wl_interface zwp_tablet_manager_v1_interface;
extern const wl_interface zwp_tablet_seat_v1_interface;
extern const wl_interface zwp_tablet_tool_v1_interface;
extern const wl_interface zwp_tablet_v1_interface;
extern const wl_interface zwp_tablet_manager_v2_interface;
extern const wl_interface zwp_tablet_seat_v2_interface;
extern const wl_interface zwp_tablet_tool_v2_interface;
extern const wl_interface zwp_tablet_v2_interface;
extern const wl_interface zwp_tablet_pad_ring_v2_interface;
extern const wl_interface zwp_tablet_pad_strip_v2_interface;
extern const wl_interface zwp_tablet_pad_group_v2_interface;
extern const wl_interface zwp_tablet_pad_v2_interface;
extern const wl_interface zwp_text_input_v1_interface;
extern const wl_interface zwp_text_input_manager_v1_interface;
extern const wl_interface zwp_text_input_v3_interface;
extern const wl_interface zwp_text_input_manager_v3_interface;
extern const wl_interface xdg_activation_v1_interface;
extern const wl_interface xdg_activation_token_v1_interface;
extern const wl_interface zxdg_decoration_manager_v1_interface;
extern const wl_interface zxdg_toplevel_decoration_v1_interface;
extern const wl_interface zxdg_exporter_v1_interface;
extern const wl_interface zxdg_importer_v1_interface;
extern const wl_interface zxdg_exported_v1_interface;
extern const wl_interface zxdg_imported_v1_interface;
extern const wl_interface zxdg_exporter_v2_interface;
extern const wl_interface zxdg_importer_v2_interface;
extern const wl_interface zxdg_exported_v2_interface;
extern const wl_interface zxdg_imported_v2_interface;
extern const wl_interface zxdg_output_manager_v1_interface;
extern const wl_interface zxdg_output_v1_interface;
extern const wl_interface zxdg_shell_v6_interface;
extern const wl_interface zxdg_positioner_v6_interface;
extern const wl_interface zxdg_surface_v6_interface;
extern const wl_interface zxdg_toplevel_v6_interface;
extern const wl_interface zxdg_popup_v6_interface;
extern const wl_interface zwp_xwayland_keyboard_grab_manager_v1_interface;
extern const wl_interface zwp_xwayland_keyboard_grab_v1_interface;
}
class zwp_fullscreen_shell_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> release;
std::function<void(surface_t, zwp_fullscreen_shell_v1_present_method, output_t)> present_surface;
std::function<void(surface_t, output_t, int32_t, zwp_fullscreen_shell_mode_feedback_v1_t)> present_surface_for_mode;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_fullscreen_shell_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_fullscreen_shell_v1_t>;
friend class global_base_t;
public:
zwp_fullscreen_shell_v1_t() = default;
zwp_fullscreen_shell_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_fullscreen_shell_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_fullscreen_shell_v1*() const;
std::function<void()> &on_release();
std::function<void(surface_t, zwp_fullscreen_shell_v1_present_method, output_t)> &on_present_surface();
std::function<void(surface_t, output_t, int32_t, zwp_fullscreen_shell_mode_feedback_v1_t)> &on_present_surface_for_mode();
void capability(zwp_fullscreen_shell_v1_capability const& capability, bool post = true);
static constexpr std::uint32_t capability_since_version = 1;
void post_invalid_method(std::string const& msg);
void post_role(std::string const& msg);
};
using global_zwp_fullscreen_shell_v1_t = global_t<zwp_fullscreen_shell_v1_t>;
enum class zwp_fullscreen_shell_v1_capability : uint32_t
{
arbitrary_modes = 1,
cursor_plane = 2
};
enum class zwp_fullscreen_shell_v1_present_method : uint32_t
{
_default = 0,
center = 1,
zoom = 2,
zoom_crop = 3,
stretch = 4
};
enum class zwp_fullscreen_shell_v1_error : uint32_t
{
invalid_method = 0,
role = 1
};
class zwp_fullscreen_shell_mode_feedback_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_fullscreen_shell_mode_feedback_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_fullscreen_shell_mode_feedback_v1_t>;
friend class global_base_t;
public:
zwp_fullscreen_shell_mode_feedback_v1_t() = default;
zwp_fullscreen_shell_mode_feedback_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_fullscreen_shell_mode_feedback_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_fullscreen_shell_mode_feedback_v1*() const;
void mode_successful(bool post = true);
static constexpr std::uint32_t mode_successful_since_version = 1;
void mode_failed(bool post = true);
static constexpr std::uint32_t mode_failed_since_version = 1;
void present_cancelled(bool post = true);
static constexpr std::uint32_t present_cancelled_since_version = 1;
};
using global_zwp_fullscreen_shell_mode_feedback_v1_t = global_t<zwp_fullscreen_shell_mode_feedback_v1_t>;
class zwp_idle_inhibit_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_idle_inhibitor_v1_t, surface_t)> create_inhibitor;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_idle_inhibit_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_idle_inhibit_manager_v1_t>;
friend class global_base_t;
public:
zwp_idle_inhibit_manager_v1_t() = default;
zwp_idle_inhibit_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_idle_inhibit_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_idle_inhibit_manager_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_idle_inhibitor_v1_t, surface_t)> &on_create_inhibitor();
};
using global_zwp_idle_inhibit_manager_v1_t = global_t<zwp_idle_inhibit_manager_v1_t>;
class zwp_idle_inhibitor_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_idle_inhibitor_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_idle_inhibitor_v1_t>;
friend class global_base_t;
public:
zwp_idle_inhibitor_v1_t() = default;
zwp_idle_inhibitor_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_idle_inhibitor_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_idle_inhibitor_v1*() const;
std::function<void()> &on_destroy();
};
using global_zwp_idle_inhibitor_v1_t = global_t<zwp_idle_inhibitor_v1_t>;
class zwp_input_method_context_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(uint32_t, std::string)> commit_string;
std::function<void(uint32_t, std::string, std::string)> preedit_string;
std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> preedit_styling;
std::function<void(int32_t)> preedit_cursor;
std::function<void(int32_t, uint32_t)> delete_surrounding_text;
std::function<void(int32_t, int32_t)> cursor_position;
std::function<void(array_t)> modifiers_map;
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> keysym;
std::function<void(keyboard_t)> grab_keyboard;
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state)> key;
std::function<void(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> modifiers;
std::function<void(uint32_t, std::string)> language;
std::function<void(uint32_t, uint32_t)> text_direction;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_input_method_context_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_input_method_context_v1_t>;
friend class global_base_t;
public:
zwp_input_method_context_v1_t() = default;
zwp_input_method_context_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_input_method_context_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_input_method_context_v1*() const;
std::function<void()> &on_destroy();
std::function<void(uint32_t, std::string)> &on_commit_string();
std::function<void(uint32_t, std::string, std::string)> &on_preedit_string();
std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> &on_preedit_styling();
std::function<void(int32_t)> &on_preedit_cursor();
std::function<void(int32_t, uint32_t)> &on_delete_surrounding_text();
std::function<void(int32_t, int32_t)> &on_cursor_position();
std::function<void(array_t)> &on_modifiers_map();
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> &on_keysym();
std::function<void(keyboard_t)> &on_grab_keyboard();
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state)> &on_key();
std::function<void(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> &on_modifiers();
std::function<void(uint32_t, std::string)> &on_language();
std::function<void(uint32_t, uint32_t)> &on_text_direction();
void surrounding_text(std::string const& text, uint32_t cursor, uint32_t anchor, bool post = true);
static constexpr std::uint32_t surrounding_text_since_version = 1;
void reset(bool post = true);
static constexpr std::uint32_t reset_since_version = 1;
void content_type(zwp_text_input_v1_content_hint const& hint, zwp_text_input_v1_content_purpose const& purpose, bool post = true);
static constexpr std::uint32_t content_type_since_version = 1;
void invoke_action(uint32_t button, uint32_t index, bool post = true);
static constexpr std::uint32_t invoke_action_since_version = 1;
void commit_state(uint32_t serial, bool post = true);
static constexpr std::uint32_t commit_state_since_version = 1;
void preferred_language(std::string const& language, bool post = true);
static constexpr std::uint32_t preferred_language_since_version = 1;
};
using global_zwp_input_method_context_v1_t = global_t<zwp_input_method_context_v1_t>;
class zwp_input_method_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_input_method_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_input_method_v1_t>;
friend class global_base_t;
public:
zwp_input_method_v1_t() = default;
zwp_input_method_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_input_method_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_input_method_v1*() const;
void activate(bool post = true);
static constexpr std::uint32_t activate_since_version = 1;
void deactivate(zwp_input_method_context_v1_t const& context, bool post = true);
static constexpr std::uint32_t deactivate_since_version = 1;
};
using global_zwp_input_method_v1_t = global_t<zwp_input_method_v1_t>;
class zwp_input_panel_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(zwp_input_panel_surface_v1_t, surface_t)> get_input_panel_surface;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_input_panel_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_input_panel_v1_t>;
friend class global_base_t;
public:
zwp_input_panel_v1_t() = default;
zwp_input_panel_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_input_panel_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_input_panel_v1*() const;
std::function<void(zwp_input_panel_surface_v1_t, surface_t)> &on_get_input_panel_surface();
};
using global_zwp_input_panel_v1_t = global_t<zwp_input_panel_v1_t>;
class zwp_input_panel_surface_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(output_t, zwp_input_panel_surface_v1_position)> set_toplevel;
std::function<void()> set_overlay_panel;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_input_panel_surface_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_input_panel_surface_v1_t>;
friend class global_base_t;
public:
zwp_input_panel_surface_v1_t() = default;
zwp_input_panel_surface_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_input_panel_surface_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_input_panel_surface_v1*() const;
std::function<void(output_t, zwp_input_panel_surface_v1_position)> &on_set_toplevel();
std::function<void()> &on_set_overlay_panel();
};
using global_zwp_input_panel_surface_v1_t = global_t<zwp_input_panel_surface_v1_t>;
enum class zwp_input_panel_surface_v1_position : uint32_t
{
center_bottom = 0
};
class zwp_input_timestamps_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_input_timestamps_v1_t, keyboard_t)> get_keyboard_timestamps;
std::function<void(zwp_input_timestamps_v1_t, pointer_t)> get_pointer_timestamps;
std::function<void(zwp_input_timestamps_v1_t, touch_t)> get_touch_timestamps;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_input_timestamps_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_input_timestamps_manager_v1_t>;
friend class global_base_t;
public:
zwp_input_timestamps_manager_v1_t() = default;
zwp_input_timestamps_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_input_timestamps_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_input_timestamps_manager_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_input_timestamps_v1_t, keyboard_t)> &on_get_keyboard_timestamps();
std::function<void(zwp_input_timestamps_v1_t, pointer_t)> &on_get_pointer_timestamps();
std::function<void(zwp_input_timestamps_v1_t, touch_t)> &on_get_touch_timestamps();
};
using global_zwp_input_timestamps_manager_v1_t = global_t<zwp_input_timestamps_manager_v1_t>;
class zwp_input_timestamps_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_input_timestamps_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_input_timestamps_v1_t>;
friend class global_base_t;
public:
zwp_input_timestamps_v1_t() = default;
zwp_input_timestamps_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_input_timestamps_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_input_timestamps_v1*() const;
std::function<void()> &on_destroy();
void timestamp(uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, bool post = true);
static constexpr std::uint32_t timestamp_since_version = 1;
};
using global_zwp_input_timestamps_v1_t = global_t<zwp_input_timestamps_v1_t>;
class zwp_keyboard_shortcuts_inhibit_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_keyboard_shortcuts_inhibitor_v1_t, surface_t, seat_t)> inhibit_shortcuts;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_keyboard_shortcuts_inhibit_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_keyboard_shortcuts_inhibit_manager_v1_t>;
friend class global_base_t;
public:
zwp_keyboard_shortcuts_inhibit_manager_v1_t() = default;
zwp_keyboard_shortcuts_inhibit_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_keyboard_shortcuts_inhibit_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_keyboard_shortcuts_inhibit_manager_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_keyboard_shortcuts_inhibitor_v1_t, surface_t, seat_t)> &on_inhibit_shortcuts();
void post_already_inhibited(std::string const& msg);
};
using global_zwp_keyboard_shortcuts_inhibit_manager_v1_t = global_t<zwp_keyboard_shortcuts_inhibit_manager_v1_t>;
enum class zwp_keyboard_shortcuts_inhibit_manager_v1_error : uint32_t
{
already_inhibited = 0
};
class zwp_keyboard_shortcuts_inhibitor_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_keyboard_shortcuts_inhibitor_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_keyboard_shortcuts_inhibitor_v1_t>;
friend class global_base_t;
public:
zwp_keyboard_shortcuts_inhibitor_v1_t() = default;
zwp_keyboard_shortcuts_inhibitor_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_keyboard_shortcuts_inhibitor_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_keyboard_shortcuts_inhibitor_v1*() const;
std::function<void()> &on_destroy();
void active(bool post = true);
static constexpr std::uint32_t active_since_version = 1;
void inactive(bool post = true);
static constexpr std::uint32_t inactive_since_version = 1;
};
using global_zwp_keyboard_shortcuts_inhibitor_v1_t = global_t<zwp_keyboard_shortcuts_inhibitor_v1_t>;
class zwp_linux_dmabuf_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_linux_buffer_params_v1_t)> create_params;
std::function<void(zwp_linux_dmabuf_feedback_v1_t)> get_default_feedback;
std::function<void(zwp_linux_dmabuf_feedback_v1_t, surface_t)> get_surface_feedback;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_linux_dmabuf_v1_interface;
static constexpr const unsigned int max_version = 4;
friend class global_t<zwp_linux_dmabuf_v1_t>;
friend class global_base_t;
public:
zwp_linux_dmabuf_v1_t() = default;
zwp_linux_dmabuf_v1_t(const client_t& client, uint32_t id, int version = 4);
zwp_linux_dmabuf_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_linux_dmabuf_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_linux_buffer_params_v1_t)> &on_create_params();
std::function<void(zwp_linux_dmabuf_feedback_v1_t)> &on_get_default_feedback();
std::function<void(zwp_linux_dmabuf_feedback_v1_t, surface_t)> &on_get_surface_feedback();
void format(uint32_t format, bool post = true);
static constexpr std::uint32_t format_since_version = 1;
void modifier(uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo, bool post = true);
static constexpr std::uint32_t modifier_since_version = 3;
bool can_modifier() const;
};
using global_zwp_linux_dmabuf_v1_t = global_t<zwp_linux_dmabuf_v1_t>;
class zwp_linux_buffer_params_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> add;
std::function<void(int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> create;
std::function<void(buffer_t, int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> create_immed;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_linux_buffer_params_v1_interface;
static constexpr const unsigned int max_version = 4;
friend class global_t<zwp_linux_buffer_params_v1_t>;
friend class global_base_t;
public:
zwp_linux_buffer_params_v1_t() = default;
zwp_linux_buffer_params_v1_t(const client_t& client, uint32_t id, int version = 4);
zwp_linux_buffer_params_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_linux_buffer_params_v1*() const;
std::function<void()> &on_destroy();
std::function<void(int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> &on_add();
std::function<void(int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> &on_create();
std::function<void(buffer_t, int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> &on_create_immed();
void created(bool post = true);
static constexpr std::uint32_t created_since_version = 1;
void failed(bool post = true);
static constexpr std::uint32_t failed_since_version = 1;
void post_already_used(std::string const& msg);
void post_plane_idx(std::string const& msg);
void post_plane_set(std::string const& msg);
void post_incomplete(std::string const& msg);
void post_invalid_format(std::string const& msg);
void post_invalid_dimensions(std::string const& msg);
void post_out_of_bounds(std::string const& msg);
void post_invalid_wl_buffer(std::string const& msg);
};
using global_zwp_linux_buffer_params_v1_t = global_t<zwp_linux_buffer_params_v1_t>;
enum class zwp_linux_buffer_params_v1_error : uint32_t
{
already_used = 0,
plane_idx = 1,
plane_set = 2,
incomplete = 3,
invalid_format = 4,
invalid_dimensions = 5,
out_of_bounds = 6,
invalid_wl_buffer = 7
};
struct zwp_linux_buffer_params_v1_flags : public wayland::detail::bitfield<3, 6>
{
zwp_linux_buffer_params_v1_flags(const wayland::detail::bitfield<3, 6> &b)
: wayland::detail::bitfield<3, 6>(b) {}
zwp_linux_buffer_params_v1_flags(const uint32_t value)
: wayland::detail::bitfield<3, 6>(value) {}
static const wayland::detail::bitfield<3, 6> y_invert;
static const wayland::detail::bitfield<3, 6> interlaced;
static const wayland::detail::bitfield<3, 6> bottom_first;
};
class zwp_linux_dmabuf_feedback_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_linux_dmabuf_feedback_v1_interface;
static constexpr const unsigned int max_version = 4;
friend class global_t<zwp_linux_dmabuf_feedback_v1_t>;
friend class global_base_t;
public:
zwp_linux_dmabuf_feedback_v1_t() = default;
zwp_linux_dmabuf_feedback_v1_t(const client_t& client, uint32_t id, int version = 4);
zwp_linux_dmabuf_feedback_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_linux_dmabuf_feedback_v1*() const;
std::function<void()> &on_destroy();
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void format_table(int fd, uint32_t size, bool post = true);
static constexpr std::uint32_t format_table_since_version = 1;
void main_device(array_t const& device, bool post = true);
static constexpr std::uint32_t main_device_since_version = 1;
void tranche_done(bool post = true);
static constexpr std::uint32_t tranche_done_since_version = 1;
void tranche_target_device(array_t const& device, bool post = true);
static constexpr std::uint32_t tranche_target_device_since_version = 1;
void tranche_formats(array_t const& indices, bool post = true);
static constexpr std::uint32_t tranche_formats_since_version = 1;
void tranche_flags(zwp_linux_dmabuf_feedback_v1_tranche_flags const& flags, bool post = true);
static constexpr std::uint32_t tranche_flags_since_version = 1;
};
using global_zwp_linux_dmabuf_feedback_v1_t = global_t<zwp_linux_dmabuf_feedback_v1_t>;
struct zwp_linux_dmabuf_feedback_v1_tranche_flags : public wayland::detail::bitfield<1, 7>
{
zwp_linux_dmabuf_feedback_v1_tranche_flags(const wayland::detail::bitfield<1, 7> &b)
: wayland::detail::bitfield<1, 7>(b) {}
zwp_linux_dmabuf_feedback_v1_tranche_flags(const uint32_t value)
: wayland::detail::bitfield<1, 7>(value) {}
static const wayland::detail::bitfield<1, 7> scanout;
};
class zwp_linux_explicit_synchronization_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_linux_surface_synchronization_v1_t, surface_t)> get_synchronization;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_linux_explicit_synchronization_v1_interface;
static constexpr const unsigned int max_version = 2;
friend class global_t<zwp_linux_explicit_synchronization_v1_t>;
friend class global_base_t;
public:
zwp_linux_explicit_synchronization_v1_t() = default;
zwp_linux_explicit_synchronization_v1_t(const client_t& client, uint32_t id, int version = 2);
zwp_linux_explicit_synchronization_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_linux_explicit_synchronization_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_linux_surface_synchronization_v1_t, surface_t)> &on_get_synchronization();
void post_synchronization_exists(std::string const& msg);
};
using global_zwp_linux_explicit_synchronization_v1_t = global_t<zwp_linux_explicit_synchronization_v1_t>;
enum class zwp_linux_explicit_synchronization_v1_error : uint32_t
{
synchronization_exists = 0
};
class zwp_linux_surface_synchronization_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(int)> set_acquire_fence;
std::function<void(zwp_linux_buffer_release_v1_t)> get_release;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_linux_surface_synchronization_v1_interface;
static constexpr const unsigned int max_version = 2;
friend class global_t<zwp_linux_surface_synchronization_v1_t>;
friend class global_base_t;
public:
zwp_linux_surface_synchronization_v1_t() = default;
zwp_linux_surface_synchronization_v1_t(const client_t& client, uint32_t id, int version = 2);
zwp_linux_surface_synchronization_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_linux_surface_synchronization_v1*() const;
std::function<void()> &on_destroy();
std::function<void(int)> &on_set_acquire_fence();
std::function<void(zwp_linux_buffer_release_v1_t)> &on_get_release();
void post_invalid_fence(std::string const& msg);
void post_duplicate_fence(std::string const& msg);
void post_duplicate_release(std::string const& msg);
void post_no_surface(std::string const& msg);
void post_unsupported_buffer(std::string const& msg);
void post_no_buffer(std::string const& msg);
};
using global_zwp_linux_surface_synchronization_v1_t = global_t<zwp_linux_surface_synchronization_v1_t>;
enum class zwp_linux_surface_synchronization_v1_error : uint32_t
{
invalid_fence = 0,
duplicate_fence = 1,
duplicate_release = 2,
no_surface = 3,
unsupported_buffer = 4,
no_buffer = 5
};
class zwp_linux_buffer_release_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_linux_buffer_release_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_linux_buffer_release_v1_t>;
friend class global_base_t;
public:
zwp_linux_buffer_release_v1_t() = default;
zwp_linux_buffer_release_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_linux_buffer_release_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_linux_buffer_release_v1*() const;
void fenced_release(int fence, bool post = true);
static constexpr std::uint32_t fenced_release_since_version = 1;
void immediate_release(bool post = true);
static constexpr std::uint32_t immediate_release_since_version = 1;
};
using global_zwp_linux_buffer_release_v1_t = global_t<zwp_linux_buffer_release_v1_t>;
class zwp_pointer_constraints_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_locked_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> lock_pointer;
std::function<void(zwp_confined_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> confine_pointer;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_pointer_constraints_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_pointer_constraints_v1_t>;
friend class global_base_t;
public:
zwp_pointer_constraints_v1_t() = default;
zwp_pointer_constraints_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_pointer_constraints_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_pointer_constraints_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_locked_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> &on_lock_pointer();
std::function<void(zwp_confined_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> &on_confine_pointer();
void post_already_constrained(std::string const& msg);
};
using global_zwp_pointer_constraints_v1_t = global_t<zwp_pointer_constraints_v1_t>;
enum class zwp_pointer_constraints_v1_error : uint32_t
{
already_constrained = 1
};
enum class zwp_pointer_constraints_v1_lifetime : uint32_t
{
oneshot = 1,
persistent = 2
};
class zwp_locked_pointer_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(double, double)> set_cursor_position_hint;
std::function<void(region_t)> set_region;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_locked_pointer_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_locked_pointer_v1_t>;
friend class global_base_t;
public:
zwp_locked_pointer_v1_t() = default;
zwp_locked_pointer_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_locked_pointer_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_locked_pointer_v1*() const;
std::function<void()> &on_destroy();
std::function<void(double, double)> &on_set_cursor_position_hint();
std::function<void(region_t)> &on_set_region();
void locked(bool post = true);
static constexpr std::uint32_t locked_since_version = 1;
void unlocked(bool post = true);
static constexpr std::uint32_t unlocked_since_version = 1;
};
using global_zwp_locked_pointer_v1_t = global_t<zwp_locked_pointer_v1_t>;
class zwp_confined_pointer_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(region_t)> set_region;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_confined_pointer_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_confined_pointer_v1_t>;
friend class global_base_t;
public:
zwp_confined_pointer_v1_t() = default;
zwp_confined_pointer_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_confined_pointer_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_confined_pointer_v1*() const;
std::function<void()> &on_destroy();
std::function<void(region_t)> &on_set_region();
void confined(bool post = true);
static constexpr std::uint32_t confined_since_version = 1;
void unconfined(bool post = true);
static constexpr std::uint32_t unconfined_since_version = 1;
};
using global_zwp_confined_pointer_v1_t = global_t<zwp_confined_pointer_v1_t>;
class zwp_pointer_gestures_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(zwp_pointer_gesture_swipe_v1_t, pointer_t)> get_swipe_gesture;
std::function<void(zwp_pointer_gesture_pinch_v1_t, pointer_t)> get_pinch_gesture;
std::function<void()> release;
std::function<void(zwp_pointer_gesture_hold_v1_t, pointer_t)> get_hold_gesture;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_pointer_gestures_v1_interface;
static constexpr const unsigned int max_version = 3;
friend class global_t<zwp_pointer_gestures_v1_t>;
friend class global_base_t;
public:
zwp_pointer_gestures_v1_t() = default;
zwp_pointer_gestures_v1_t(const client_t& client, uint32_t id, int version = 3);
zwp_pointer_gestures_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_pointer_gestures_v1*() const;
std::function<void(zwp_pointer_gesture_swipe_v1_t, pointer_t)> &on_get_swipe_gesture();
std::function<void(zwp_pointer_gesture_pinch_v1_t, pointer_t)> &on_get_pinch_gesture();
std::function<void()> &on_release();
std::function<void(zwp_pointer_gesture_hold_v1_t, pointer_t)> &on_get_hold_gesture();
};
using global_zwp_pointer_gestures_v1_t = global_t<zwp_pointer_gestures_v1_t>;
class zwp_pointer_gesture_swipe_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_pointer_gesture_swipe_v1_interface;
static constexpr const unsigned int max_version = 2;
friend class global_t<zwp_pointer_gesture_swipe_v1_t>;
friend class global_base_t;
public:
zwp_pointer_gesture_swipe_v1_t() = default;
zwp_pointer_gesture_swipe_v1_t(const client_t& client, uint32_t id, int version = 2);
zwp_pointer_gesture_swipe_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_pointer_gesture_swipe_v1*() const;
std::function<void()> &on_destroy();
void begin(uint32_t serial, uint32_t time, surface_t const& surface, uint32_t fingers, bool post = true);
static constexpr std::uint32_t begin_since_version = 1;
void update(uint32_t time, double dx, double dy, bool post = true);
static constexpr std::uint32_t update_since_version = 1;
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post = true);
static constexpr std::uint32_t end_since_version = 1;
};
using global_zwp_pointer_gesture_swipe_v1_t = global_t<zwp_pointer_gesture_swipe_v1_t>;
class zwp_pointer_gesture_pinch_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_pointer_gesture_pinch_v1_interface;
static constexpr const unsigned int max_version = 2;
friend class global_t<zwp_pointer_gesture_pinch_v1_t>;
friend class global_base_t;
public:
zwp_pointer_gesture_pinch_v1_t() = default;
zwp_pointer_gesture_pinch_v1_t(const client_t& client, uint32_t id, int version = 2);
zwp_pointer_gesture_pinch_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_pointer_gesture_pinch_v1*() const;
std::function<void()> &on_destroy();
void begin(uint32_t serial, uint32_t time, surface_t const& surface, uint32_t fingers, bool post = true);
static constexpr std::uint32_t begin_since_version = 1;
void update(uint32_t time, double dx, double dy, double scale, double rotation, bool post = true);
static constexpr std::uint32_t update_since_version = 1;
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post = true);
static constexpr std::uint32_t end_since_version = 1;
};
using global_zwp_pointer_gesture_pinch_v1_t = global_t<zwp_pointer_gesture_pinch_v1_t>;
class zwp_pointer_gesture_hold_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_pointer_gesture_hold_v1_interface;
static constexpr const unsigned int max_version = 3;
friend class global_t<zwp_pointer_gesture_hold_v1_t>;
friend class global_base_t;
public:
zwp_pointer_gesture_hold_v1_t() = default;
zwp_pointer_gesture_hold_v1_t(const client_t& client, uint32_t id, int version = 3);
zwp_pointer_gesture_hold_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_pointer_gesture_hold_v1*() const;
std::function<void()> &on_destroy();
void begin(uint32_t serial, uint32_t time, surface_t const& surface, uint32_t fingers, bool post = true);
static constexpr std::uint32_t begin_since_version = 3;
bool can_begin() const;
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post = true);
static constexpr std::uint32_t end_since_version = 3;
bool can_end() const;
};
using global_zwp_pointer_gesture_hold_v1_t = global_t<zwp_pointer_gesture_hold_v1_t>;
class zwp_primary_selection_device_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(zwp_primary_selection_source_v1_t)> create_source;
std::function<void(zwp_primary_selection_device_v1_t, seat_t)> get_device;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_primary_selection_device_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_primary_selection_device_manager_v1_t>;
friend class global_base_t;
public:
zwp_primary_selection_device_manager_v1_t() = default;
zwp_primary_selection_device_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_primary_selection_device_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_primary_selection_device_manager_v1*() const;
std::function<void(zwp_primary_selection_source_v1_t)> &on_create_source();
std::function<void(zwp_primary_selection_device_v1_t, seat_t)> &on_get_device();
std::function<void()> &on_destroy();
};
using global_zwp_primary_selection_device_manager_v1_t = global_t<zwp_primary_selection_device_manager_v1_t>;
class zwp_primary_selection_device_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(zwp_primary_selection_source_v1_t, uint32_t)> set_selection;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_primary_selection_device_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_primary_selection_device_v1_t>;
friend class global_base_t;
public:
zwp_primary_selection_device_v1_t() = default;
zwp_primary_selection_device_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_primary_selection_device_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_primary_selection_device_v1*() const;
std::function<void(zwp_primary_selection_source_v1_t, uint32_t)> &on_set_selection();
std::function<void()> &on_destroy();
void data_offer(bool post = true);
static constexpr std::uint32_t data_offer_since_version = 1;
void selection(zwp_primary_selection_offer_v1_t const& id, bool post = true);
static constexpr std::uint32_t selection_since_version = 1;
};
using global_zwp_primary_selection_device_v1_t = global_t<zwp_primary_selection_device_v1_t>;
class zwp_primary_selection_offer_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(std::string, int)> receive;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_primary_selection_offer_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_primary_selection_offer_v1_t>;
friend class global_base_t;
public:
zwp_primary_selection_offer_v1_t() = default;
zwp_primary_selection_offer_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_primary_selection_offer_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_primary_selection_offer_v1*() const;
std::function<void(std::string, int)> &on_receive();
std::function<void()> &on_destroy();
void offer(std::string const& mime_type, bool post = true);
static constexpr std::uint32_t offer_since_version = 1;
};
using global_zwp_primary_selection_offer_v1_t = global_t<zwp_primary_selection_offer_v1_t>;
class zwp_primary_selection_source_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(std::string)> offer;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_primary_selection_source_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_primary_selection_source_v1_t>;
friend class global_base_t;
public:
zwp_primary_selection_source_v1_t() = default;
zwp_primary_selection_source_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_primary_selection_source_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_primary_selection_source_v1*() const;
std::function<void(std::string)> &on_offer();
std::function<void()> &on_destroy();
void send(std::string const& mime_type, int fd, bool post = true);
static constexpr std::uint32_t send_since_version = 1;
void cancelled(bool post = true);
static constexpr std::uint32_t cancelled_since_version = 1;
};
using global_zwp_primary_selection_source_v1_t = global_t<zwp_primary_selection_source_v1_t>;
class zwp_relative_pointer_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_relative_pointer_v1_t, pointer_t)> get_relative_pointer;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_relative_pointer_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_relative_pointer_manager_v1_t>;
friend class global_base_t;
public:
zwp_relative_pointer_manager_v1_t() = default;
zwp_relative_pointer_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_relative_pointer_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_relative_pointer_manager_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_relative_pointer_v1_t, pointer_t)> &on_get_relative_pointer();
};
using global_zwp_relative_pointer_manager_v1_t = global_t<zwp_relative_pointer_manager_v1_t>;
class zwp_relative_pointer_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_relative_pointer_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_relative_pointer_v1_t>;
friend class global_base_t;
public:
zwp_relative_pointer_v1_t() = default;
zwp_relative_pointer_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_relative_pointer_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_relative_pointer_v1*() const;
std::function<void()> &on_destroy();
void relative_motion(uint32_t utime_hi, uint32_t utime_lo, double dx, double dy, double dx_unaccel, double dy_unaccel, bool post = true);
static constexpr std::uint32_t relative_motion_since_version = 1;
};
using global_zwp_relative_pointer_v1_t = global_t<zwp_relative_pointer_v1_t>;
class zwp_tablet_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(zwp_tablet_seat_v1_t, seat_t)> get_tablet_seat;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_manager_v1_t>;
friend class global_base_t;
public:
zwp_tablet_manager_v1_t() = default;
zwp_tablet_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_manager_v1*() const;
std::function<void(zwp_tablet_seat_v1_t, seat_t)> &on_get_tablet_seat();
std::function<void()> &on_destroy();
};
using global_zwp_tablet_manager_v1_t = global_t<zwp_tablet_manager_v1_t>;
class zwp_tablet_seat_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_seat_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_seat_v1_t>;
friend class global_base_t;
public:
zwp_tablet_seat_v1_t() = default;
zwp_tablet_seat_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_seat_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_seat_v1*() const;
std::function<void()> &on_destroy();
void tablet_added(bool post = true);
static constexpr std::uint32_t tablet_added_since_version = 1;
void tool_added(bool post = true);
static constexpr std::uint32_t tool_added_since_version = 1;
};
using global_zwp_tablet_seat_v1_t = global_t<zwp_tablet_seat_v1_t>;
class zwp_tablet_tool_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(uint32_t, surface_t, int32_t, int32_t)> set_cursor;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_tool_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_tool_v1_t>;
friend class global_base_t;
public:
zwp_tablet_tool_v1_t() = default;
zwp_tablet_tool_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_tool_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_tool_v1*() const;
std::function<void(uint32_t, surface_t, int32_t, int32_t)> &on_set_cursor();
std::function<void()> &on_destroy();
void type(zwp_tablet_tool_v1_type const& tool_type, bool post = true);
static constexpr std::uint32_t type_since_version = 1;
void hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post = true);
static constexpr std::uint32_t hardware_serial_since_version = 1;
void hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post = true);
static constexpr std::uint32_t hardware_id_wacom_since_version = 1;
void capability(zwp_tablet_tool_v1_capability const& capability, bool post = true);
static constexpr std::uint32_t capability_since_version = 1;
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void removed(bool post = true);
static constexpr std::uint32_t removed_since_version = 1;
void proximity_in(uint32_t serial, zwp_tablet_v1_t const& tablet, surface_t const& surface, bool post = true);
static constexpr std::uint32_t proximity_in_since_version = 1;
void proximity_out(bool post = true);
static constexpr std::uint32_t proximity_out_since_version = 1;
void down(uint32_t serial, bool post = true);
static constexpr std::uint32_t down_since_version = 1;
void up(bool post = true);
static constexpr std::uint32_t up_since_version = 1;
void motion(double x, double y, bool post = true);
static constexpr std::uint32_t motion_since_version = 1;
void pressure(uint32_t pressure, bool post = true);
static constexpr std::uint32_t pressure_since_version = 1;
void distance(uint32_t distance, bool post = true);
static constexpr std::uint32_t distance_since_version = 1;
void tilt(int32_t tilt_x, int32_t tilt_y, bool post = true);
static constexpr std::uint32_t tilt_since_version = 1;
void rotation(int32_t degrees, bool post = true);
static constexpr std::uint32_t rotation_since_version = 1;
void slider(int32_t position, bool post = true);
static constexpr std::uint32_t slider_since_version = 1;
void wheel(int32_t degrees, int32_t clicks, bool post = true);
static constexpr std::uint32_t wheel_since_version = 1;
void button(uint32_t serial, uint32_t button, zwp_tablet_tool_v1_button_state const& state, bool post = true);
static constexpr std::uint32_t button_since_version = 1;
void frame(uint32_t time, bool post = true);
static constexpr std::uint32_t frame_since_version = 1;
void post_role(std::string const& msg);
};
using global_zwp_tablet_tool_v1_t = global_t<zwp_tablet_tool_v1_t>;
enum class zwp_tablet_tool_v1_type : uint32_t
{
pen = 0x140,
eraser = 0x141,
brush = 0x142,
pencil = 0x143,
airbrush = 0x144,
finger = 0x145,
mouse = 0x146,
lens = 0x147
};
enum class zwp_tablet_tool_v1_capability : uint32_t
{
tilt = 1,
pressure = 2,
distance = 3,
rotation = 4,
slider = 5,
wheel = 6
};
enum class zwp_tablet_tool_v1_button_state : uint32_t
{
released = 0,
pressed = 1
};
enum class zwp_tablet_tool_v1_error : uint32_t
{
role = 0
};
class zwp_tablet_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_v1_t>;
friend class global_base_t;
public:
zwp_tablet_v1_t() = default;
zwp_tablet_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_v1*() const;
std::function<void()> &on_destroy();
void name(std::string const& name, bool post = true);
static constexpr std::uint32_t name_since_version = 1;
void id(uint32_t vid, uint32_t pid, bool post = true);
static constexpr std::uint32_t id_since_version = 1;
void path(std::string const& path, bool post = true);
static constexpr std::uint32_t path_since_version = 1;
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void removed(bool post = true);
static constexpr std::uint32_t removed_since_version = 1;
};
using global_zwp_tablet_v1_t = global_t<zwp_tablet_v1_t>;
class zwp_tablet_manager_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(zwp_tablet_seat_v2_t, seat_t)> get_tablet_seat;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_manager_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_manager_v2_t>;
friend class global_base_t;
public:
zwp_tablet_manager_v2_t() = default;
zwp_tablet_manager_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_manager_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_manager_v2*() const;
std::function<void(zwp_tablet_seat_v2_t, seat_t)> &on_get_tablet_seat();
std::function<void()> &on_destroy();
};
using global_zwp_tablet_manager_v2_t = global_t<zwp_tablet_manager_v2_t>;
class zwp_tablet_seat_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_seat_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_seat_v2_t>;
friend class global_base_t;
public:
zwp_tablet_seat_v2_t() = default;
zwp_tablet_seat_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_seat_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_seat_v2*() const;
std::function<void()> &on_destroy();
void tablet_added(bool post = true);
static constexpr std::uint32_t tablet_added_since_version = 1;
void tool_added(bool post = true);
static constexpr std::uint32_t tool_added_since_version = 1;
void pad_added(bool post = true);
static constexpr std::uint32_t pad_added_since_version = 1;
};
using global_zwp_tablet_seat_v2_t = global_t<zwp_tablet_seat_v2_t>;
class zwp_tablet_tool_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(uint32_t, surface_t, int32_t, int32_t)> set_cursor;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_tool_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_tool_v2_t>;
friend class global_base_t;
public:
zwp_tablet_tool_v2_t() = default;
zwp_tablet_tool_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_tool_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_tool_v2*() const;
std::function<void(uint32_t, surface_t, int32_t, int32_t)> &on_set_cursor();
std::function<void()> &on_destroy();
void type(zwp_tablet_tool_v2_type const& tool_type, bool post = true);
static constexpr std::uint32_t type_since_version = 1;
void hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post = true);
static constexpr std::uint32_t hardware_serial_since_version = 1;
void hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post = true);
static constexpr std::uint32_t hardware_id_wacom_since_version = 1;
void capability(zwp_tablet_tool_v2_capability const& capability, bool post = true);
static constexpr std::uint32_t capability_since_version = 1;
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void removed(bool post = true);
static constexpr std::uint32_t removed_since_version = 1;
void proximity_in(uint32_t serial, zwp_tablet_v2_t const& tablet, surface_t const& surface, bool post = true);
static constexpr std::uint32_t proximity_in_since_version = 1;
void proximity_out(bool post = true);
static constexpr std::uint32_t proximity_out_since_version = 1;
void down(uint32_t serial, bool post = true);
static constexpr std::uint32_t down_since_version = 1;
void up(bool post = true);
static constexpr std::uint32_t up_since_version = 1;
void motion(double x, double y, bool post = true);
static constexpr std::uint32_t motion_since_version = 1;
void pressure(uint32_t pressure, bool post = true);
static constexpr std::uint32_t pressure_since_version = 1;
void distance(uint32_t distance, bool post = true);
static constexpr std::uint32_t distance_since_version = 1;
void tilt(double tilt_x, double tilt_y, bool post = true);
static constexpr std::uint32_t tilt_since_version = 1;
void rotation(double degrees, bool post = true);
static constexpr std::uint32_t rotation_since_version = 1;
void slider(int32_t position, bool post = true);
static constexpr std::uint32_t slider_since_version = 1;
void wheel(double degrees, int32_t clicks, bool post = true);
static constexpr std::uint32_t wheel_since_version = 1;
void button(uint32_t serial, uint32_t button, zwp_tablet_tool_v2_button_state const& state, bool post = true);
static constexpr std::uint32_t button_since_version = 1;
void frame(uint32_t time, bool post = true);
static constexpr std::uint32_t frame_since_version = 1;
void post_role(std::string const& msg);
};
using global_zwp_tablet_tool_v2_t = global_t<zwp_tablet_tool_v2_t>;
enum class zwp_tablet_tool_v2_type : uint32_t
{
pen = 0x140,
eraser = 0x141,
brush = 0x142,
pencil = 0x143,
airbrush = 0x144,
finger = 0x145,
mouse = 0x146,
lens = 0x147
};
enum class zwp_tablet_tool_v2_capability : uint32_t
{
tilt = 1,
pressure = 2,
distance = 3,
rotation = 4,
slider = 5,
wheel = 6
};
enum class zwp_tablet_tool_v2_button_state : uint32_t
{
released = 0,
pressed = 1
};
enum class zwp_tablet_tool_v2_error : uint32_t
{
role = 0
};
class zwp_tablet_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_v2_t>;
friend class global_base_t;
public:
zwp_tablet_v2_t() = default;
zwp_tablet_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_v2*() const;
std::function<void()> &on_destroy();
void name(std::string const& name, bool post = true);
static constexpr std::uint32_t name_since_version = 1;
void id(uint32_t vid, uint32_t pid, bool post = true);
static constexpr std::uint32_t id_since_version = 1;
void path(std::string const& path, bool post = true);
static constexpr std::uint32_t path_since_version = 1;
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void removed(bool post = true);
static constexpr std::uint32_t removed_since_version = 1;
};
using global_zwp_tablet_v2_t = global_t<zwp_tablet_v2_t>;
class zwp_tablet_pad_ring_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(std::string, uint32_t)> set_feedback;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_pad_ring_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_pad_ring_v2_t>;
friend class global_base_t;
public:
zwp_tablet_pad_ring_v2_t() = default;
zwp_tablet_pad_ring_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_pad_ring_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_pad_ring_v2*() const;
std::function<void(std::string, uint32_t)> &on_set_feedback();
std::function<void()> &on_destroy();
void source(zwp_tablet_pad_ring_v2_source const& source, bool post = true);
static constexpr std::uint32_t source_since_version = 1;
void angle(double degrees, bool post = true);
static constexpr std::uint32_t angle_since_version = 1;
void stop(bool post = true);
static constexpr std::uint32_t stop_since_version = 1;
void frame(uint32_t time, bool post = true);
static constexpr std::uint32_t frame_since_version = 1;
};
using global_zwp_tablet_pad_ring_v2_t = global_t<zwp_tablet_pad_ring_v2_t>;
enum class zwp_tablet_pad_ring_v2_source : uint32_t
{
finger = 1
};
class zwp_tablet_pad_strip_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(std::string, uint32_t)> set_feedback;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_pad_strip_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_pad_strip_v2_t>;
friend class global_base_t;
public:
zwp_tablet_pad_strip_v2_t() = default;
zwp_tablet_pad_strip_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_pad_strip_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_pad_strip_v2*() const;
std::function<void(std::string, uint32_t)> &on_set_feedback();
std::function<void()> &on_destroy();
void source(zwp_tablet_pad_strip_v2_source const& source, bool post = true);
static constexpr std::uint32_t source_since_version = 1;
void position(uint32_t position, bool post = true);
static constexpr std::uint32_t position_since_version = 1;
void stop(bool post = true);
static constexpr std::uint32_t stop_since_version = 1;
void frame(uint32_t time, bool post = true);
static constexpr std::uint32_t frame_since_version = 1;
};
using global_zwp_tablet_pad_strip_v2_t = global_t<zwp_tablet_pad_strip_v2_t>;
enum class zwp_tablet_pad_strip_v2_source : uint32_t
{
finger = 1
};
class zwp_tablet_pad_group_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_pad_group_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_pad_group_v2_t>;
friend class global_base_t;
public:
zwp_tablet_pad_group_v2_t() = default;
zwp_tablet_pad_group_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_pad_group_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_pad_group_v2*() const;
std::function<void()> &on_destroy();
void buttons(array_t const& buttons, bool post = true);
static constexpr std::uint32_t buttons_since_version = 1;
void ring(bool post = true);
static constexpr std::uint32_t ring_since_version = 1;
void strip(bool post = true);
static constexpr std::uint32_t strip_since_version = 1;
void modes(uint32_t modes, bool post = true);
static constexpr std::uint32_t modes_since_version = 1;
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void mode_switch(uint32_t time, uint32_t serial, uint32_t mode, bool post = true);
static constexpr std::uint32_t mode_switch_since_version = 1;
};
using global_zwp_tablet_pad_group_v2_t = global_t<zwp_tablet_pad_group_v2_t>;
class zwp_tablet_pad_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(uint32_t, std::string, uint32_t)> set_feedback;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_tablet_pad_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_tablet_pad_v2_t>;
friend class global_base_t;
public:
zwp_tablet_pad_v2_t() = default;
zwp_tablet_pad_v2_t(const client_t& client, uint32_t id, int version = 1);
zwp_tablet_pad_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_tablet_pad_v2*() const;
std::function<void(uint32_t, std::string, uint32_t)> &on_set_feedback();
std::function<void()> &on_destroy();
void group(bool post = true);
static constexpr std::uint32_t group_since_version = 1;
void path(std::string const& path, bool post = true);
static constexpr std::uint32_t path_since_version = 1;
void buttons(uint32_t buttons, bool post = true);
static constexpr std::uint32_t buttons_since_version = 1;
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void button(uint32_t time, uint32_t button, zwp_tablet_pad_v2_button_state const& state, bool post = true);
static constexpr std::uint32_t button_since_version = 1;
void enter(uint32_t serial, zwp_tablet_v2_t const& tablet, surface_t const& surface, bool post = true);
static constexpr std::uint32_t enter_since_version = 1;
void leave(uint32_t serial, surface_t const& surface, bool post = true);
static constexpr std::uint32_t leave_since_version = 1;
void removed(bool post = true);
static constexpr std::uint32_t removed_since_version = 1;
};
using global_zwp_tablet_pad_v2_t = global_t<zwp_tablet_pad_v2_t>;
enum class zwp_tablet_pad_v2_button_state : uint32_t
{
released = 0,
pressed = 1
};
class zwp_text_input_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(seat_t, surface_t)> activate;
std::function<void(seat_t)> deactivate;
std::function<void()> show_input_panel;
std::function<void()> hide_input_panel;
std::function<void()> reset;
std::function<void(std::string, uint32_t, uint32_t)> set_surrounding_text;
std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> set_content_type;
std::function<void(int32_t, int32_t, int32_t, int32_t)> set_cursor_rectangle;
std::function<void(std::string)> set_preferred_language;
std::function<void(uint32_t)> commit_state;
std::function<void(uint32_t, uint32_t)> invoke_action;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_text_input_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_text_input_v1_t>;
friend class global_base_t;
public:
zwp_text_input_v1_t() = default;
zwp_text_input_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_text_input_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_text_input_v1*() const;
std::function<void(seat_t, surface_t)> &on_activate();
std::function<void(seat_t)> &on_deactivate();
std::function<void()> &on_show_input_panel();
std::function<void()> &on_hide_input_panel();
std::function<void()> &on_reset();
std::function<void(std::string, uint32_t, uint32_t)> &on_set_surrounding_text();
std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> &on_set_content_type();
std::function<void(int32_t, int32_t, int32_t, int32_t)> &on_set_cursor_rectangle();
std::function<void(std::string)> &on_set_preferred_language();
std::function<void(uint32_t)> &on_commit_state();
std::function<void(uint32_t, uint32_t)> &on_invoke_action();
void enter(surface_t const& surface, bool post = true);
static constexpr std::uint32_t enter_since_version = 1;
void leave(bool post = true);
static constexpr std::uint32_t leave_since_version = 1;
void modifiers_map(array_t const& map, bool post = true);
static constexpr std::uint32_t modifiers_map_since_version = 1;
void input_panel_state(uint32_t state, bool post = true);
static constexpr std::uint32_t input_panel_state_since_version = 1;
void preedit_string(uint32_t serial, std::string const& text, std::string const& commit, bool post = true);
static constexpr std::uint32_t preedit_string_since_version = 1;
void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const& style, bool post = true);
static constexpr std::uint32_t preedit_styling_since_version = 1;
void preedit_cursor(int32_t index, bool post = true);
static constexpr std::uint32_t preedit_cursor_since_version = 1;
void commit_string(uint32_t serial, std::string const& text, bool post = true);
static constexpr std::uint32_t commit_string_since_version = 1;
void cursor_position(int32_t index, int32_t anchor, bool post = true);
static constexpr std::uint32_t cursor_position_since_version = 1;
void delete_surrounding_text(int32_t index, uint32_t length, bool post = true);
static constexpr std::uint32_t delete_surrounding_text_since_version = 1;
void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const& state, uint32_t modifiers, bool post = true);
static constexpr std::uint32_t keysym_since_version = 1;
void language(uint32_t serial, std::string const& language, bool post = true);
static constexpr std::uint32_t language_since_version = 1;
void text_direction(uint32_t serial, zwp_text_input_v1_text_direction const& direction, bool post = true);
static constexpr std::uint32_t text_direction_since_version = 1;
};
using global_zwp_text_input_v1_t = global_t<zwp_text_input_v1_t>;
struct zwp_text_input_v1_content_hint : public wayland::detail::bitfield<10, 23>
{
zwp_text_input_v1_content_hint(const wayland::detail::bitfield<10, 23> &b)
: wayland::detail::bitfield<10, 23>(b) {}
zwp_text_input_v1_content_hint(const uint32_t value)
: wayland::detail::bitfield<10, 23>(value) {}
static const wayland::detail::bitfield<10, 23> none;
static const wayland::detail::bitfield<10, 23> _default;
static const wayland::detail::bitfield<10, 23> password;
static const wayland::detail::bitfield<10, 23> auto_completion;
static const wayland::detail::bitfield<10, 23> auto_correction;
static const wayland::detail::bitfield<10, 23> auto_capitalization;
static const wayland::detail::bitfield<10, 23> lowercase;
static const wayland::detail::bitfield<10, 23> uppercase;
static const wayland::detail::bitfield<10, 23> titlecase;
static const wayland::detail::bitfield<10, 23> hidden_text;
static const wayland::detail::bitfield<10, 23> sensitive_data;
static const wayland::detail::bitfield<10, 23> latin;
static const wayland::detail::bitfield<10, 23> multiline;
};
enum class zwp_text_input_v1_content_purpose : uint32_t
{
normal = 0,
alpha = 1,
digits = 2,
number = 3,
phone = 4,
url = 5,
email = 6,
name = 7,
password = 8,
date = 9,
time = 10,
datetime = 11,
terminal = 12
};
enum class zwp_text_input_v1_preedit_style : uint32_t
{
_default = 0,
none = 1,
active = 2,
inactive = 3,
highlight = 4,
underline = 5,
selection = 6,
incorrect = 7
};
enum class zwp_text_input_v1_text_direction : uint32_t
{
_auto = 0,
ltr = 1,
rtl = 2
};
class zwp_text_input_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(zwp_text_input_v1_t)> create_text_input;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_text_input_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_text_input_manager_v1_t>;
friend class global_base_t;
public:
zwp_text_input_manager_v1_t() = default;
zwp_text_input_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_text_input_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_text_input_manager_v1*() const;
std::function<void(zwp_text_input_v1_t)> &on_create_text_input();
};
using global_zwp_text_input_manager_v1_t = global_t<zwp_text_input_manager_v1_t>;
class zwp_text_input_v3_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void()> enable;
std::function<void()> disable;
std::function<void(std::string, int32_t, int32_t)> set_surrounding_text;
std::function<void(zwp_text_input_v3_change_cause)> set_text_change_cause;
std::function<void(zwp_text_input_v3_content_hint, zwp_text_input_v3_content_purpose)> set_content_type;
std::function<void(int32_t, int32_t, int32_t, int32_t)> set_cursor_rectangle;
std::function<void()> commit;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_text_input_v3_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_text_input_v3_t>;
friend class global_base_t;
public:
zwp_text_input_v3_t() = default;
zwp_text_input_v3_t(const client_t& client, uint32_t id, int version = 1);
zwp_text_input_v3_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_text_input_v3*() const;
std::function<void()> &on_destroy();
std::function<void()> &on_enable();
std::function<void()> &on_disable();
std::function<void(std::string, int32_t, int32_t)> &on_set_surrounding_text();
std::function<void(zwp_text_input_v3_change_cause)> &on_set_text_change_cause();
std::function<void(zwp_text_input_v3_content_hint, zwp_text_input_v3_content_purpose)> &on_set_content_type();
std::function<void(int32_t, int32_t, int32_t, int32_t)> &on_set_cursor_rectangle();
std::function<void()> &on_commit();
void enter(surface_t const& surface, bool post = true);
static constexpr std::uint32_t enter_since_version = 1;
void leave(surface_t const& surface, bool post = true);
static constexpr std::uint32_t leave_since_version = 1;
void preedit_string(std::string const& text, int32_t cursor_begin, int32_t cursor_end, bool post = true);
static constexpr std::uint32_t preedit_string_since_version = 1;
void commit_string(std::string const& text, bool post = true);
static constexpr std::uint32_t commit_string_since_version = 1;
void delete_surrounding_text(uint32_t before_length, uint32_t after_length, bool post = true);
static constexpr std::uint32_t delete_surrounding_text_since_version = 1;
void done(uint32_t serial, bool post = true);
static constexpr std::uint32_t done_since_version = 1;
};
using global_zwp_text_input_v3_t = global_t<zwp_text_input_v3_t>;
enum class zwp_text_input_v3_change_cause : uint32_t
{
input_method = 0,
other = 1
};
struct zwp_text_input_v3_content_hint : public wayland::detail::bitfield<10, 28>
{
zwp_text_input_v3_content_hint(const wayland::detail::bitfield<10, 28> &b)
: wayland::detail::bitfield<10, 28>(b) {}
zwp_text_input_v3_content_hint(const uint32_t value)
: wayland::detail::bitfield<10, 28>(value) {}
static const wayland::detail::bitfield<10, 28> none;
static const wayland::detail::bitfield<10, 28> completion;
static const wayland::detail::bitfield<10, 28> spellcheck;
static const wayland::detail::bitfield<10, 28> auto_capitalization;
static const wayland::detail::bitfield<10, 28> lowercase;
static const wayland::detail::bitfield<10, 28> uppercase;
static const wayland::detail::bitfield<10, 28> titlecase;
static const wayland::detail::bitfield<10, 28> hidden_text;
static const wayland::detail::bitfield<10, 28> sensitive_data;
static const wayland::detail::bitfield<10, 28> latin;
static const wayland::detail::bitfield<10, 28> multiline;
};
enum class zwp_text_input_v3_content_purpose : uint32_t
{
normal = 0,
alpha = 1,
digits = 2,
number = 3,
phone = 4,
url = 5,
email = 6,
name = 7,
password = 8,
pin = 9,
date = 10,
time = 11,
datetime = 12,
terminal = 13
};
class zwp_text_input_manager_v3_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_text_input_v3_t, seat_t)> get_text_input;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_text_input_manager_v3_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_text_input_manager_v3_t>;
friend class global_base_t;
public:
zwp_text_input_manager_v3_t() = default;
zwp_text_input_manager_v3_t(const client_t& client, uint32_t id, int version = 1);
zwp_text_input_manager_v3_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_text_input_manager_v3*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_text_input_v3_t, seat_t)> &on_get_text_input();
};
using global_zwp_text_input_manager_v3_t = global_t<zwp_text_input_manager_v3_t>;
class xdg_activation_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(xdg_activation_token_v1_t)> get_activation_token;
std::function<void(std::string, surface_t)> activate;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::xdg_activation_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<xdg_activation_v1_t>;
friend class global_base_t;
public:
xdg_activation_v1_t() = default;
xdg_activation_v1_t(const client_t& client, uint32_t id, int version = 1);
xdg_activation_v1_t(const resource_t &resource);
static const std::string interface_name;
operator xdg_activation_v1*() const;
std::function<void()> &on_destroy();
std::function<void(xdg_activation_token_v1_t)> &on_get_activation_token();
std::function<void(std::string, surface_t)> &on_activate();
};
using global_xdg_activation_v1_t = global_t<xdg_activation_v1_t>;
class xdg_activation_token_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void(uint32_t, seat_t)> set_serial;
std::function<void(std::string)> set_app_id;
std::function<void(surface_t)> set_surface;
std::function<void()> commit;
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::xdg_activation_token_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<xdg_activation_token_v1_t>;
friend class global_base_t;
public:
xdg_activation_token_v1_t() = default;
xdg_activation_token_v1_t(const client_t& client, uint32_t id, int version = 1);
xdg_activation_token_v1_t(const resource_t &resource);
static const std::string interface_name;
operator xdg_activation_token_v1*() const;
std::function<void(uint32_t, seat_t)> &on_set_serial();
std::function<void(std::string)> &on_set_app_id();
std::function<void(surface_t)> &on_set_surface();
std::function<void()> &on_commit();
std::function<void()> &on_destroy();
void done(std::string const& token, bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void post_already_used(std::string const& msg);
};
using global_xdg_activation_token_v1_t = global_t<xdg_activation_token_v1_t>;
enum class xdg_activation_token_v1_error : uint32_t
{
already_used = 0
};
class zxdg_decoration_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_toplevel_decoration_v1_t, xdg_toplevel_t)> get_toplevel_decoration;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_decoration_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_decoration_manager_v1_t>;
friend class global_base_t;
public:
zxdg_decoration_manager_v1_t() = default;
zxdg_decoration_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zxdg_decoration_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_decoration_manager_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_toplevel_decoration_v1_t, xdg_toplevel_t)> &on_get_toplevel_decoration();
};
using global_zxdg_decoration_manager_v1_t = global_t<zxdg_decoration_manager_v1_t>;
class zxdg_toplevel_decoration_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_toplevel_decoration_v1_mode)> set_mode;
std::function<void()> unset_mode;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_toplevel_decoration_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_toplevel_decoration_v1_t>;
friend class global_base_t;
public:
zxdg_toplevel_decoration_v1_t() = default;
zxdg_toplevel_decoration_v1_t(const client_t& client, uint32_t id, int version = 1);
zxdg_toplevel_decoration_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_toplevel_decoration_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_toplevel_decoration_v1_mode)> &on_set_mode();
std::function<void()> &on_unset_mode();
void configure(zxdg_toplevel_decoration_v1_mode const& mode, bool post = true);
static constexpr std::uint32_t configure_since_version = 1;
void post_unconfigured_buffer(std::string const& msg);
void post_already_constructed(std::string const& msg);
void post_orphaned(std::string const& msg);
};
using global_zxdg_toplevel_decoration_v1_t = global_t<zxdg_toplevel_decoration_v1_t>;
enum class zxdg_toplevel_decoration_v1_error : uint32_t
{
unconfigured_buffer = 0,
already_constructed = 1,
orphaned = 2
};
enum class zxdg_toplevel_decoration_v1_mode : uint32_t
{
client_side = 1,
server_side = 2
};
class zxdg_exporter_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_exported_v1_t, surface_t)> _export;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_exporter_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_exporter_v1_t>;
friend class global_base_t;
public:
zxdg_exporter_v1_t() = default;
zxdg_exporter_v1_t(const client_t& client, uint32_t id, int version = 1);
zxdg_exporter_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_exporter_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_exported_v1_t, surface_t)> &on_export();
};
using global_zxdg_exporter_v1_t = global_t<zxdg_exporter_v1_t>;
class zxdg_importer_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_imported_v1_t, std::string)> import;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_importer_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_importer_v1_t>;
friend class global_base_t;
public:
zxdg_importer_v1_t() = default;
zxdg_importer_v1_t(const client_t& client, uint32_t id, int version = 1);
zxdg_importer_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_importer_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_imported_v1_t, std::string)> &on_import();
};
using global_zxdg_importer_v1_t = global_t<zxdg_importer_v1_t>;
class zxdg_exported_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_exported_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_exported_v1_t>;
friend class global_base_t;
public:
zxdg_exported_v1_t() = default;
zxdg_exported_v1_t(const client_t& client, uint32_t id, int version = 1);
zxdg_exported_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_exported_v1*() const;
std::function<void()> &on_destroy();
void handle(std::string const& handle, bool post = true);
static constexpr std::uint32_t handle_since_version = 1;
};
using global_zxdg_exported_v1_t = global_t<zxdg_exported_v1_t>;
class zxdg_imported_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(surface_t)> set_parent_of;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_imported_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_imported_v1_t>;
friend class global_base_t;
public:
zxdg_imported_v1_t() = default;
zxdg_imported_v1_t(const client_t& client, uint32_t id, int version = 1);
zxdg_imported_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_imported_v1*() const;
std::function<void()> &on_destroy();
std::function<void(surface_t)> &on_set_parent_of();
void destroyed(bool post = true);
static constexpr std::uint32_t destroyed_since_version = 1;
};
using global_zxdg_imported_v1_t = global_t<zxdg_imported_v1_t>;
class zxdg_exporter_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_exported_v2_t, surface_t)> export_toplevel;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_exporter_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_exporter_v2_t>;
friend class global_base_t;
public:
zxdg_exporter_v2_t() = default;
zxdg_exporter_v2_t(const client_t& client, uint32_t id, int version = 1);
zxdg_exporter_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_exporter_v2*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_exported_v2_t, surface_t)> &on_export_toplevel();
void post_invalid_surface(std::string const& msg);
};
using global_zxdg_exporter_v2_t = global_t<zxdg_exporter_v2_t>;
enum class zxdg_exporter_v2_error : uint32_t
{
invalid_surface = 0
};
class zxdg_importer_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_imported_v2_t, std::string)> import_toplevel;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_importer_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_importer_v2_t>;
friend class global_base_t;
public:
zxdg_importer_v2_t() = default;
zxdg_importer_v2_t(const client_t& client, uint32_t id, int version = 1);
zxdg_importer_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_importer_v2*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_imported_v2_t, std::string)> &on_import_toplevel();
};
using global_zxdg_importer_v2_t = global_t<zxdg_importer_v2_t>;
class zxdg_exported_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_exported_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_exported_v2_t>;
friend class global_base_t;
public:
zxdg_exported_v2_t() = default;
zxdg_exported_v2_t(const client_t& client, uint32_t id, int version = 1);
zxdg_exported_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_exported_v2*() const;
std::function<void()> &on_destroy();
void handle(std::string const& handle, bool post = true);
static constexpr std::uint32_t handle_since_version = 1;
};
using global_zxdg_exported_v2_t = global_t<zxdg_exported_v2_t>;
class zxdg_imported_v2_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(surface_t)> set_parent_of;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_imported_v2_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_imported_v2_t>;
friend class global_base_t;
public:
zxdg_imported_v2_t() = default;
zxdg_imported_v2_t(const client_t& client, uint32_t id, int version = 1);
zxdg_imported_v2_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_imported_v2*() const;
std::function<void()> &on_destroy();
std::function<void(surface_t)> &on_set_parent_of();
void destroyed(bool post = true);
static constexpr std::uint32_t destroyed_since_version = 1;
void post_invalid_surface(std::string const& msg);
};
using global_zxdg_imported_v2_t = global_t<zxdg_imported_v2_t>;
enum class zxdg_imported_v2_error : uint32_t
{
invalid_surface = 0
};
class zxdg_output_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_output_v1_t, output_t)> get_xdg_output;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_output_manager_v1_interface;
static constexpr const unsigned int max_version = 3;
friend class global_t<zxdg_output_manager_v1_t>;
friend class global_base_t;
public:
zxdg_output_manager_v1_t() = default;
zxdg_output_manager_v1_t(const client_t& client, uint32_t id, int version = 3);
zxdg_output_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_output_manager_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_output_v1_t, output_t)> &on_get_xdg_output();
};
using global_zxdg_output_manager_v1_t = global_t<zxdg_output_manager_v1_t>;
class zxdg_output_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_output_v1_interface;
static constexpr const unsigned int max_version = 3;
friend class global_t<zxdg_output_v1_t>;
friend class global_base_t;
public:
zxdg_output_v1_t() = default;
zxdg_output_v1_t(const client_t& client, uint32_t id, int version = 3);
zxdg_output_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_output_v1*() const;
std::function<void()> &on_destroy();
void logical_position(int32_t x, int32_t y, bool post = true);
static constexpr std::uint32_t logical_position_since_version = 1;
void logical_size(int32_t width, int32_t height, bool post = true);
static constexpr std::uint32_t logical_size_since_version = 1;
void done(bool post = true);
static constexpr std::uint32_t done_since_version = 1;
void name(std::string const& name, bool post = true);
static constexpr std::uint32_t name_since_version = 2;
bool can_name() const;
void description(std::string const& description, bool post = true);
static constexpr std::uint32_t description_since_version = 2;
bool can_description() const;
};
using global_zxdg_output_v1_t = global_t<zxdg_output_v1_t>;
class zxdg_shell_v6_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_positioner_v6_t)> create_positioner;
std::function<void(zxdg_surface_v6_t, surface_t)> get_xdg_surface;
std::function<void(uint32_t)> pong;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_shell_v6_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_shell_v6_t>;
friend class global_base_t;
public:
zxdg_shell_v6_t() = default;
zxdg_shell_v6_t(const client_t& client, uint32_t id, int version = 1);
zxdg_shell_v6_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_shell_v6*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_positioner_v6_t)> &on_create_positioner();
std::function<void(zxdg_surface_v6_t, surface_t)> &on_get_xdg_surface();
std::function<void(uint32_t)> &on_pong();
void ping(uint32_t serial, bool post = true);
static constexpr std::uint32_t ping_since_version = 1;
void post_role(std::string const& msg);
void post_defunct_surfaces(std::string const& msg);
void post_not_the_topmost_popup(std::string const& msg);
void post_invalid_popup_parent(std::string const& msg);
void post_invalid_surface_state(std::string const& msg);
void post_invalid_positioner(std::string const& msg);
};
using global_zxdg_shell_v6_t = global_t<zxdg_shell_v6_t>;
enum class zxdg_shell_v6_error : uint32_t
{
role = 0,
defunct_surfaces = 1,
not_the_topmost_popup = 2,
invalid_popup_parent = 3,
invalid_surface_state = 4,
invalid_positioner = 5
};
class zxdg_positioner_v6_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(int32_t, int32_t)> set_size;
std::function<void(int32_t, int32_t, int32_t, int32_t)> set_anchor_rect;
std::function<void(zxdg_positioner_v6_anchor)> set_anchor;
std::function<void(zxdg_positioner_v6_gravity)> set_gravity;
std::function<void(zxdg_positioner_v6_constraint_adjustment)> set_constraint_adjustment;
std::function<void(int32_t, int32_t)> set_offset;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_positioner_v6_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_positioner_v6_t>;
friend class global_base_t;
public:
zxdg_positioner_v6_t() = default;
zxdg_positioner_v6_t(const client_t& client, uint32_t id, int version = 1);
zxdg_positioner_v6_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_positioner_v6*() const;
std::function<void()> &on_destroy();
std::function<void(int32_t, int32_t)> &on_set_size();
std::function<void(int32_t, int32_t, int32_t, int32_t)> &on_set_anchor_rect();
std::function<void(zxdg_positioner_v6_anchor)> &on_set_anchor();
std::function<void(zxdg_positioner_v6_gravity)> &on_set_gravity();
std::function<void(zxdg_positioner_v6_constraint_adjustment)> &on_set_constraint_adjustment();
std::function<void(int32_t, int32_t)> &on_set_offset();
void post_invalid_input(std::string const& msg);
};
using global_zxdg_positioner_v6_t = global_t<zxdg_positioner_v6_t>;
enum class zxdg_positioner_v6_error : uint32_t
{
invalid_input = 0
};
struct zxdg_positioner_v6_anchor : public wayland::detail::bitfield<4, 37>
{
zxdg_positioner_v6_anchor(const wayland::detail::bitfield<4, 37> &b)
: wayland::detail::bitfield<4, 37>(b) {}
zxdg_positioner_v6_anchor(const uint32_t value)
: wayland::detail::bitfield<4, 37>(value) {}
static const wayland::detail::bitfield<4, 37> none;
static const wayland::detail::bitfield<4, 37> top;
static const wayland::detail::bitfield<4, 37> bottom;
static const wayland::detail::bitfield<4, 37> left;
static const wayland::detail::bitfield<4, 37> right;
};
struct zxdg_positioner_v6_gravity : public wayland::detail::bitfield<4, 38>
{
zxdg_positioner_v6_gravity(const wayland::detail::bitfield<4, 38> &b)
: wayland::detail::bitfield<4, 38>(b) {}
zxdg_positioner_v6_gravity(const uint32_t value)
: wayland::detail::bitfield<4, 38>(value) {}
static const wayland::detail::bitfield<4, 38> none;
static const wayland::detail::bitfield<4, 38> top;
static const wayland::detail::bitfield<4, 38> bottom;
static const wayland::detail::bitfield<4, 38> left;
static const wayland::detail::bitfield<4, 38> right;
};
struct zxdg_positioner_v6_constraint_adjustment : public wayland::detail::bitfield<6, 39>
{
zxdg_positioner_v6_constraint_adjustment(const wayland::detail::bitfield<6, 39> &b)
: wayland::detail::bitfield<6, 39>(b) {}
zxdg_positioner_v6_constraint_adjustment(const uint32_t value)
: wayland::detail::bitfield<6, 39>(value) {}
static const wayland::detail::bitfield<6, 39> none;
static const wayland::detail::bitfield<6, 39> slide_x;
static const wayland::detail::bitfield<6, 39> slide_y;
static const wayland::detail::bitfield<6, 39> flip_x;
static const wayland::detail::bitfield<6, 39> flip_y;
static const wayland::detail::bitfield<6, 39> resize_x;
static const wayland::detail::bitfield<6, 39> resize_y;
};
class zxdg_surface_v6_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_toplevel_v6_t)> get_toplevel;
std::function<void(zxdg_popup_v6_t, zxdg_surface_v6_t, zxdg_positioner_v6_t)> get_popup;
std::function<void(int32_t, int32_t, int32_t, int32_t)> set_window_geometry;
std::function<void(uint32_t)> ack_configure;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_surface_v6_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_surface_v6_t>;
friend class global_base_t;
public:
zxdg_surface_v6_t() = default;
zxdg_surface_v6_t(const client_t& client, uint32_t id, int version = 1);
zxdg_surface_v6_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_surface_v6*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_toplevel_v6_t)> &on_get_toplevel();
std::function<void(zxdg_popup_v6_t, zxdg_surface_v6_t, zxdg_positioner_v6_t)> &on_get_popup();
std::function<void(int32_t, int32_t, int32_t, int32_t)> &on_set_window_geometry();
std::function<void(uint32_t)> &on_ack_configure();
void configure(uint32_t serial, bool post = true);
static constexpr std::uint32_t configure_since_version = 1;
void post_not_constructed(std::string const& msg);
void post_already_constructed(std::string const& msg);
void post_unconfigured_buffer(std::string const& msg);
};
using global_zxdg_surface_v6_t = global_t<zxdg_surface_v6_t>;
enum class zxdg_surface_v6_error : uint32_t
{
not_constructed = 1,
already_constructed = 2,
unconfigured_buffer = 3
};
class zxdg_toplevel_v6_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zxdg_toplevel_v6_t)> set_parent;
std::function<void(std::string)> set_title;
std::function<void(std::string)> set_app_id;
std::function<void(seat_t, uint32_t, int32_t, int32_t)> show_window_menu;
std::function<void(seat_t, uint32_t)> move;
std::function<void(seat_t, uint32_t, zxdg_toplevel_v6_resize_edge)> resize;
std::function<void(int32_t, int32_t)> set_max_size;
std::function<void(int32_t, int32_t)> set_min_size;
std::function<void()> set_maximized;
std::function<void()> unset_maximized;
std::function<void(output_t)> set_fullscreen;
std::function<void()> unset_fullscreen;
std::function<void()> set_minimized;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_toplevel_v6_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_toplevel_v6_t>;
friend class global_base_t;
public:
zxdg_toplevel_v6_t() = default;
zxdg_toplevel_v6_t(const client_t& client, uint32_t id, int version = 1);
zxdg_toplevel_v6_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_toplevel_v6*() const;
std::function<void()> &on_destroy();
std::function<void(zxdg_toplevel_v6_t)> &on_set_parent();
std::function<void(std::string)> &on_set_title();
std::function<void(std::string)> &on_set_app_id();
std::function<void(seat_t, uint32_t, int32_t, int32_t)> &on_show_window_menu();
std::function<void(seat_t, uint32_t)> &on_move();
std::function<void(seat_t, uint32_t, zxdg_toplevel_v6_resize_edge)> &on_resize();
std::function<void(int32_t, int32_t)> &on_set_max_size();
std::function<void(int32_t, int32_t)> &on_set_min_size();
std::function<void()> &on_set_maximized();
std::function<void()> &on_unset_maximized();
std::function<void(output_t)> &on_set_fullscreen();
std::function<void()> &on_unset_fullscreen();
std::function<void()> &on_set_minimized();
void configure(int32_t width, int32_t height, array_t const& states, bool post = true);
static constexpr std::uint32_t configure_since_version = 1;
void close(bool post = true);
static constexpr std::uint32_t close_since_version = 1;
};
using global_zxdg_toplevel_v6_t = global_t<zxdg_toplevel_v6_t>;
struct zxdg_toplevel_v6_resize_edge : public wayland::detail::bitfield<4, 41>
{
zxdg_toplevel_v6_resize_edge(const wayland::detail::bitfield<4, 41> &b)
: wayland::detail::bitfield<4, 41>(b) {}
zxdg_toplevel_v6_resize_edge(const uint32_t value)
: wayland::detail::bitfield<4, 41>(value) {}
static const wayland::detail::bitfield<4, 41> none;
static const wayland::detail::bitfield<4, 41> top;
static const wayland::detail::bitfield<4, 41> bottom;
static const wayland::detail::bitfield<4, 41> left;
static const wayland::detail::bitfield<4, 41> top_left;
static const wayland::detail::bitfield<4, 41> bottom_left;
static const wayland::detail::bitfield<4, 41> right;
static const wayland::detail::bitfield<4, 41> top_right;
static const wayland::detail::bitfield<4, 41> bottom_right;
};
enum class zxdg_toplevel_v6_state : uint32_t
{
maximized = 1,
fullscreen = 2,
resizing = 3,
activated = 4
};
class zxdg_popup_v6_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(seat_t, uint32_t)> grab;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zxdg_popup_v6_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zxdg_popup_v6_t>;
friend class global_base_t;
public:
zxdg_popup_v6_t() = default;
zxdg_popup_v6_t(const client_t& client, uint32_t id, int version = 1);
zxdg_popup_v6_t(const resource_t &resource);
static const std::string interface_name;
operator zxdg_popup_v6*() const;
std::function<void()> &on_destroy();
std::function<void(seat_t, uint32_t)> &on_grab();
void configure(int32_t x, int32_t y, int32_t width, int32_t height, bool post = true);
static constexpr std::uint32_t configure_since_version = 1;
void popup_done(bool post = true);
static constexpr std::uint32_t popup_done_since_version = 1;
void post_invalid_grab(std::string const& msg);
};
using global_zxdg_popup_v6_t = global_t<zxdg_popup_v6_t>;
enum class zxdg_popup_v6_error : uint32_t
{
invalid_grab = 0
};
class zwp_xwayland_keyboard_grab_manager_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
std::function<void(zwp_xwayland_keyboard_grab_v1_t, surface_t, seat_t)> grab_keyboard;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_xwayland_keyboard_grab_manager_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_xwayland_keyboard_grab_manager_v1_t>;
friend class global_base_t;
public:
zwp_xwayland_keyboard_grab_manager_v1_t() = default;
zwp_xwayland_keyboard_grab_manager_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_xwayland_keyboard_grab_manager_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_xwayland_keyboard_grab_manager_v1*() const;
std::function<void()> &on_destroy();
std::function<void(zwp_xwayland_keyboard_grab_v1_t, surface_t, seat_t)> &on_grab_keyboard();
};
using global_zwp_xwayland_keyboard_grab_manager_v1_t = global_t<zwp_xwayland_keyboard_grab_manager_v1_t>;
class zwp_xwayland_keyboard_grab_v1_t : public resource_t
{
private:
struct events_t : public resource_t::events_base_t
{
std::function<void()> destroy;
};
static int dispatcher(int opcode, const std::vector<wayland::detail::any>& args, const std::shared_ptr<resource_t::events_base_t>& e);
protected:
static constexpr const wl_interface *interface = &wayland::server::detail::zwp_xwayland_keyboard_grab_v1_interface;
static constexpr const unsigned int max_version = 1;
friend class global_t<zwp_xwayland_keyboard_grab_v1_t>;
friend class global_base_t;
public:
zwp_xwayland_keyboard_grab_v1_t() = default;
zwp_xwayland_keyboard_grab_v1_t(const client_t& client, uint32_t id, int version = 1);
zwp_xwayland_keyboard_grab_v1_t(const resource_t &resource);
static const std::string interface_name;
operator zwp_xwayland_keyboard_grab_v1*() const;
std::function<void()> &on_destroy();
};
using global_zwp_xwayland_keyboard_grab_v1_t = global_t<zwp_xwayland_keyboard_grab_v1_t>;
}
}
wayland::output_t
compositor output region
Definition wayland-client-protocol.hpp:3485
wayland::server::buffer_t
content for a wl_surface
Definition wayland-server-protocol.hpp:750
wayland::server::global_t
Definition wayland-server.hpp:626
wayland::server::keyboard_t
keyboard input device
Definition wayland-server-protocol.hpp:3292
wayland::server::output_t
compositor output region
Definition wayland-server-protocol.hpp:3707
wayland::server::pointer_t
pointer input device
Definition wayland-server-protocol.hpp:2811
wayland::server::region_t
region interface
Definition wayland-server-protocol.hpp:4044
wayland::server::seat_t
group of input devices
Definition wayland-server-protocol.hpp:2610
wayland::server::surface_t
an onscreen surface
Definition wayland-server-protocol.hpp:2139
wayland::server::touch_t
touchscreen input device
Definition wayland-server-protocol.hpp:3493
wayland::server::xdg_activation_token_v1_t
an exported activation handle
Definition wayland-server-protocol-unstable.hpp:7600
wayland::server::xdg_activation_token_v1_t::post_already_used
void post_already_used(std::string const &msg)
Post error: The token has already been used previously.
Definition wayland-server-protocol-unstable.cpp:7513
wayland::server::xdg_activation_token_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_activation_token_v1 object
Definition wayland-server-protocol-unstable.cpp:7502
wayland::server::xdg_activation_token_v1_t::on_commit
std::function< void()> & on_commit()
issues the token request
Definition wayland-server-protocol-unstable.cpp:7496
wayland::server::xdg_activation_token_v1_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:7701
wayland::server::xdg_activation_token_v1_t::done
void done(std::string const &token, bool post=true)
the exported activation token
Definition wayland-server-protocol-unstable.cpp:7508
wayland::server::xdg_activation_token_v1_t::on_set_surface
std::function< void(surface_t)> & on_set_surface()
specifies the application being activated
Definition wayland-server-protocol-unstable.cpp:7490
wayland::server::xdg_activation_token_v1_t::on_set_app_id
std::function< void(std::string)> & on_set_app_id()
specifies the application being activated
Definition wayland-server-protocol-unstable.cpp:7484
wayland::server::xdg_activation_token_v1_t::on_set_serial
std::function< void(uint32_t, seat_t)> & on_set_serial()
specifies the seat and serial of the activating event
Definition wayland-server-protocol-unstable.cpp:7478
wayland::server::xdg_activation_v1_t
interface for activating surfaces
Definition wayland-server-protocol-unstable.hpp:7516
wayland::server::xdg_activation_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_activation object
Definition wayland-server-protocol-unstable.cpp:7423
wayland::server::xdg_activation_v1_t::on_activate
std::function< void(std::string, surface_t)> & on_activate()
notify new interaction being available
Definition wayland-server-protocol-unstable.cpp:7435
wayland::server::xdg_activation_v1_t::on_get_activation_token
std::function< void(xdg_activation_token_v1_t)> & on_get_activation_token()
requests a token
Definition wayland-server-protocol-unstable.cpp:7429
wayland::server::xdg_toplevel_t
toplevel surface
Definition wayland-server-protocol-extra.hpp:1302
wayland::server::zwp_confined_pointer_v1_t
confined pointer object
Definition wayland-server-protocol-unstable.hpp:3003
wayland::server::zwp_confined_pointer_v1_t::unconfined_since_version
static constexpr std::uint32_t unconfined_since_version
Minimum protocol version required for the unconfined function.
Definition wayland-server-protocol-unstable.hpp:3086
wayland::server::zwp_confined_pointer_v1_t::unconfined
void unconfined(bool post=true)
pointer unconfined
Definition wayland-server-protocol-unstable.cpp:5514
wayland::server::zwp_confined_pointer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the confined pointer object
Definition wayland-server-protocol-unstable.cpp:5497
wayland::server::zwp_confined_pointer_v1_t::on_set_region
std::function< void(region_t)> & on_set_region()
set a new confine region
Definition wayland-server-protocol-unstable.cpp:5503
wayland::server::zwp_confined_pointer_v1_t::confined_since_version
static constexpr std::uint32_t confined_since_version
Minimum protocol version required for the confined function.
Definition wayland-server-protocol-unstable.hpp:3070
wayland::server::zwp_confined_pointer_v1_t::confined
void confined(bool post=true)
pointer confined
Definition wayland-server-protocol-unstable.cpp:5509
wayland::server::zwp_fullscreen_shell_v1_t
displays a single surface per output
Definition wayland-server-protocol-unstable.hpp:309
wayland::server::zwp_fullscreen_shell_v1_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:4252
wayland::server::zwp_fullscreen_shell_v1_t::capability_since_version
static constexpr std::uint32_t capability_since_version
Minimum protocol version required for the capability function.
Definition wayland-server-protocol-unstable.hpp:445
wayland::server::zwp_fullscreen_shell_v1_t::on_present_surface
std::function< void(surface_t, zwp_fullscreen_shell_v1_present_method, output_t)> & on_present_surface()
present surface for display
Definition wayland-server-protocol-unstable.cpp:4230
wayland::server::zwp_fullscreen_shell_v1_t::capability
void capability(zwp_fullscreen_shell_v1_capability const &capability, bool post=true)
advertises a capability of the compositor
Definition wayland-server-protocol-unstable.cpp:4242
wayland::server::zwp_fullscreen_shell_v1_t::post_invalid_method
void post_invalid_method(std::string const &msg)
Post error: present_method is not known.
Definition wayland-server-protocol-unstable.cpp:4247
wayland::server::zwp_fullscreen_shell_v1_t::on_release
std::function< void()> & on_release()
release the wl_fullscreen_shell interface
Definition wayland-server-protocol-unstable.cpp:4224
wayland::server::zwp_fullscreen_shell_v1_t::on_present_surface_for_mode
std::function< void(surface_t, output_t, int32_t, zwp_fullscreen_shell_mode_feedback_v1_t)> & on_present_surface_for_mode()
present surface for display at a particular mode
Definition wayland-server-protocol-unstable.cpp:4236
wayland::server::zwp_idle_inhibit_manager_v1_t
control behavior when display idles
Definition wayland-server-protocol-unstable.hpp:625
wayland::server::zwp_idle_inhibit_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the idle inhibitor object
Definition wayland-server-protocol-unstable.cpp:4336
wayland::server::zwp_idle_inhibit_manager_v1_t::on_create_inhibitor
std::function< void(zwp_idle_inhibitor_v1_t, surface_t)> & on_create_inhibitor()
create a new inhibitor object
Definition wayland-server-protocol-unstable.cpp:4342
wayland::server::zwp_idle_inhibitor_v1_t
context object for inhibiting idle behavior
Definition wayland-server-protocol-unstable.hpp:689
wayland::server::zwp_idle_inhibitor_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the idle inhibitor object
Definition wayland-server-protocol-unstable.cpp:4382
wayland::server::zwp_input_method_context_v1_t
input method context
Definition wayland-server-protocol-unstable.hpp:754
wayland::server::zwp_input_method_context_v1_t::commit_state_since_version
static constexpr std::uint32_t commit_state_since_version
Minimum protocol version required for the commit_state function.
Definition wayland-server-protocol-unstable.hpp:1022
wayland::server::zwp_input_method_context_v1_t::invoke_action
void invoke_action(uint32_t button, uint32_t index, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4518
wayland::server::zwp_input_method_context_v1_t::surrounding_text
void surrounding_text(std::string const &text, uint32_t cursor, uint32_t anchor, bool post=true)
surrounding text event
Definition wayland-server-protocol-unstable.cpp:4503
wayland::server::zwp_input_method_context_v1_t::content_type_since_version
static constexpr std::uint32_t content_type_since_version
Minimum protocol version required for the content_type function.
Definition wayland-server-protocol-unstable.hpp:1001
wayland::server::zwp_input_method_context_v1_t::on_modifiers_map
std::function< void(array_t)> & on_modifiers_map()
Definition wayland-server-protocol-unstable.cpp:4461
wayland::server::zwp_input_method_context_v1_t::on_keysym
std::function< void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> & on_keysym()
keysym
Definition wayland-server-protocol-unstable.cpp:4467
wayland::server::zwp_input_method_context_v1_t::preferred_language_since_version
static constexpr std::uint32_t preferred_language_since_version
Minimum protocol version required for the preferred_language function.
Definition wayland-server-protocol-unstable.hpp:1032
wayland::server::zwp_input_method_context_v1_t::on_preedit_cursor
std::function< void(int32_t)> & on_preedit_cursor()
pre-edit cursor
Definition wayland-server-protocol-unstable.cpp:4443
wayland::server::zwp_input_method_context_v1_t::surrounding_text_since_version
static constexpr std::uint32_t surrounding_text_since_version
Minimum protocol version required for the surrounding_text function.
Definition wayland-server-protocol-unstable.hpp:981
wayland::server::zwp_input_method_context_v1_t::on_modifiers
std::function< void(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> & on_modifiers()
forward modifiers event
Definition wayland-server-protocol-unstable.cpp:4485
wayland::server::zwp_input_method_context_v1_t::invoke_action_since_version
static constexpr std::uint32_t invoke_action_since_version
Minimum protocol version required for the invoke_action function.
Definition wayland-server-protocol-unstable.hpp:1012
wayland::server::zwp_input_method_context_v1_t::on_cursor_position
std::function< void(int32_t, int32_t)> & on_cursor_position()
set cursor to a new position
Definition wayland-server-protocol-unstable.cpp:4455
wayland::server::zwp_input_method_context_v1_t::commit_state
void commit_state(uint32_t serial, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4523
wayland::server::zwp_input_method_context_v1_t::on_text_direction
std::function< void(uint32_t, uint32_t)> & on_text_direction()
Definition wayland-server-protocol-unstable.cpp:4497
wayland::server::zwp_input_method_context_v1_t::on_commit_string
std::function< void(uint32_t, std::string)> & on_commit_string()
commit string
Definition wayland-server-protocol-unstable.cpp:4425
wayland::server::zwp_input_method_context_v1_t::on_preedit_styling
std::function< void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> & on_preedit_styling()
pre-edit styling
Definition wayland-server-protocol-unstable.cpp:4437
wayland::server::zwp_input_method_context_v1_t::reset_since_version
static constexpr std::uint32_t reset_since_version
Minimum protocol version required for the reset function.
Definition wayland-server-protocol-unstable.hpp:990
wayland::server::zwp_input_method_context_v1_t::on_preedit_string
std::function< void(uint32_t, std::string, std::string)> & on_preedit_string()
pre-edit string
Definition wayland-server-protocol-unstable.cpp:4431
wayland::server::zwp_input_method_context_v1_t::on_key
std::function< void(uint32_t, uint32_t, uint32_t, keyboard_key_state)> & on_key()
forward key event
Definition wayland-server-protocol-unstable.cpp:4479
wayland::server::zwp_input_method_context_v1_t::on_delete_surrounding_text
std::function< void(int32_t, uint32_t)> & on_delete_surrounding_text()
delete text
Definition wayland-server-protocol-unstable.cpp:4449
wayland::server::zwp_input_method_context_v1_t::preferred_language
void preferred_language(std::string const &language, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4528
wayland::server::zwp_input_method_context_v1_t::on_language
std::function< void(uint32_t, std::string)> & on_language()
Definition wayland-server-protocol-unstable.cpp:4491
wayland::server::zwp_input_method_context_v1_t::content_type
void content_type(zwp_text_input_v1_content_hint const &hint, zwp_text_input_v1_content_purpose const &purpose, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4513
wayland::server::zwp_input_method_context_v1_t::on_grab_keyboard
std::function< void(keyboard_t)> & on_grab_keyboard()
grab hardware keyboard
Definition wayland-server-protocol-unstable.cpp:4473
wayland::server::zwp_input_method_v1_t
input method
Definition wayland-server-protocol-unstable.hpp:1048
wayland::server::zwp_input_method_v1_t::activate_since_version
static constexpr std::uint32_t activate_since_version
Minimum protocol version required for the activate function.
Definition wayland-server-protocol-unstable.hpp:1082
wayland::server::zwp_input_method_v1_t::activate
void activate(bool post=true)
activate event
Definition wayland-server-protocol-unstable.cpp:4603
wayland::server::zwp_input_method_v1_t::deactivate
void deactivate(zwp_input_method_context_v1_t const &context, bool post=true)
deactivate event
Definition wayland-server-protocol-unstable.cpp:4608
wayland::server::zwp_input_method_v1_t::deactivate_since_version
static constexpr std::uint32_t deactivate_since_version
Minimum protocol version required for the deactivate function.
Definition wayland-server-protocol-unstable.hpp:1096
wayland::server::zwp_input_panel_v1_t
interface for implementing keyboards
Definition wayland-server-protocol-unstable.hpp:1109
wayland::server::zwp_input_panel_v1_t::on_get_input_panel_surface
std::function< void(zwp_input_panel_surface_v1_t, surface_t)> & on_get_input_panel_surface()
Definition wayland-server-protocol-unstable.cpp:4637
wayland::server::zwp_input_timestamps_manager_v1_t
context object for high-resolution input timestamps
Definition wayland-server-protocol-unstable.hpp:1217
wayland::server::zwp_input_timestamps_manager_v1_t::on_get_keyboard_timestamps
std::function< void(zwp_input_timestamps_v1_t, keyboard_t)> & on_get_keyboard_timestamps()
subscribe to high-resolution keyboard timestamp events
Definition wayland-server-protocol-unstable.cpp:4727
wayland::server::zwp_input_timestamps_manager_v1_t::on_get_touch_timestamps
std::function< void(zwp_input_timestamps_v1_t, touch_t)> & on_get_touch_timestamps()
subscribe to high-resolution touch timestamp events
Definition wayland-server-protocol-unstable.cpp:4739
wayland::server::zwp_input_timestamps_manager_v1_t::on_get_pointer_timestamps
std::function< void(zwp_input_timestamps_v1_t, pointer_t)> & on_get_pointer_timestamps()
subscribe to high-resolution pointer timestamp events
Definition wayland-server-protocol-unstable.cpp:4733
wayland::server::zwp_input_timestamps_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the input timestamps manager object
Definition wayland-server-protocol-unstable.cpp:4721
wayland::server::zwp_input_timestamps_v1_t
context object for input timestamps
Definition wayland-server-protocol-unstable.hpp:1315
wayland::server::zwp_input_timestamps_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the input timestamps object
Definition wayland-server-protocol-unstable.cpp:4785
wayland::server::zwp_input_timestamps_v1_t::timestamp_since_version
static constexpr std::uint32_t timestamp_since_version
Minimum protocol version required for the timestamp function.
Definition wayland-server-protocol-unstable.hpp:1374
wayland::server::zwp_input_timestamps_v1_t::timestamp
void timestamp(uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, bool post=true)
high-resolution timestamp event
Definition wayland-server-protocol-unstable.cpp:4791
wayland::server::zwp_keyboard_shortcuts_inhibit_manager_v1_t
context object for keyboard grab_manager
Definition wayland-server-protocol-unstable.hpp:1387
wayland::server::zwp_keyboard_shortcuts_inhibit_manager_v1_t::on_inhibit_shortcuts
std::function< void(zwp_keyboard_shortcuts_inhibitor_v1_t, surface_t, seat_t)> & on_inhibit_shortcuts()
create a new keyboard shortcuts inhibitor object
Definition wayland-server-protocol-unstable.cpp:4833
wayland::server::zwp_keyboard_shortcuts_inhibit_manager_v1_t::post_already_inhibited
void post_already_inhibited(std::string const &msg)
Post error: the shortcuts are already inhibited for this surface.
Definition wayland-server-protocol-unstable.cpp:4839
wayland::server::zwp_keyboard_shortcuts_inhibit_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the keyboard shortcuts inhibitor object
Definition wayland-server-protocol-unstable.cpp:4827
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t
context object for keyboard shortcuts inhibitor
Definition wayland-server-protocol-unstable.hpp:1490
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the keyboard shortcuts inhibitor object
Definition wayland-server-protocol-unstable.cpp:4879
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::inactive
void inactive(bool post=true)
shortcuts are restored
Definition wayland-server-protocol-unstable.cpp:4890
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::active
void active(bool post=true)
shortcuts are inhibited
Definition wayland-server-protocol-unstable.cpp:4885
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::active_since_version
static constexpr std::uint32_t active_since_version
Minimum protocol version required for the active function.
Definition wayland-server-protocol-unstable.hpp:1541
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::inactive_since_version
static constexpr std::uint32_t inactive_since_version
Minimum protocol version required for the inactive function.
Definition wayland-server-protocol-unstable.hpp:1553
wayland::server::zwp_linux_buffer_params_v1_t
parameters for creating a dmabuf-based wl_buffer
Definition wayland-server-protocol-unstable.hpp:1792
wayland::server::zwp_linux_buffer_params_v1_t::created_since_version
static constexpr std::uint32_t created_since_version
Minimum protocol version required for the created function.
Definition wayland-server-protocol-unstable.hpp:1973
wayland::server::zwp_linux_buffer_params_v1_t::failed
void failed(bool post=true)
buffer creation failed
Definition wayland-server-protocol-unstable.cpp:5034
wayland::server::zwp_linux_buffer_params_v1_t::post_incomplete
void post_incomplete(std::string const &msg)
Post error: missing or too many planes to create a buffer.
Definition wayland-server-protocol-unstable.cpp:5054
wayland::server::zwp_linux_buffer_params_v1_t::post_already_used
void post_already_used(std::string const &msg)
Post error: the dmabuf_batch object has already been used to create a wl_buffer.
Definition wayland-server-protocol-unstable.cpp:5039
wayland::server::zwp_linux_buffer_params_v1_t::created
void created(bool post=true)
buffer creation succeeded
Definition wayland-server-protocol-unstable.cpp:5029
wayland::server::zwp_linux_buffer_params_v1_t::post_out_of_bounds
void post_out_of_bounds(std::string const &msg)
Post error: offset + stride * height goes out of dmabuf bounds.
Definition wayland-server-protocol-unstable.cpp:5069
wayland::server::zwp_linux_buffer_params_v1_t::post_invalid_format
void post_invalid_format(std::string const &msg)
Post error: format not supported.
Definition wayland-server-protocol-unstable.cpp:5059
wayland::server::zwp_linux_buffer_params_v1_t::on_add
std::function< void(int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> & on_add()
add a dmabuf to the temporary set
Definition wayland-server-protocol-unstable.cpp:5011
wayland::server::zwp_linux_buffer_params_v1_t::post_invalid_wl_buffer
void post_invalid_wl_buffer(std::string const &msg)
Post error: invalid wl_buffer resulted from importing dmabufs via the create_immed request on given b...
Definition wayland-server-protocol-unstable.cpp:5074
wayland::server::zwp_linux_buffer_params_v1_t::on_create
std::function< void(int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> & on_create()
create a wl_buffer from the given dmabufs
Definition wayland-server-protocol-unstable.cpp:5017
wayland::server::zwp_linux_buffer_params_v1_t::post_plane_idx
void post_plane_idx(std::string const &msg)
Post error: plane index out of bounds.
Definition wayland-server-protocol-unstable.cpp:5044
wayland::server::zwp_linux_buffer_params_v1_t::post_invalid_dimensions
void post_invalid_dimensions(std::string const &msg)
Post error: invalid width or height.
Definition wayland-server-protocol-unstable.cpp:5064
wayland::server::zwp_linux_buffer_params_v1_t::on_destroy
std::function< void()> & on_destroy()
delete this object, used or not
Definition wayland-server-protocol-unstable.cpp:5005
wayland::server::zwp_linux_buffer_params_v1_t::post_plane_set
void post_plane_set(std::string const &msg)
Post error: the plane index was already set.
Definition wayland-server-protocol-unstable.cpp:5049
wayland::server::zwp_linux_buffer_params_v1_t::on_create_immed
std::function< void(buffer_t, int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> & on_create_immed()
immediately create a wl_buffer from the given dmabufs
Definition wayland-server-protocol-unstable.cpp:5023
wayland::server::zwp_linux_buffer_params_v1_t::failed_since_version
static constexpr std::uint32_t failed_since_version
Minimum protocol version required for the failed function.
Definition wayland-server-protocol-unstable.hpp:1989
wayland::server::zwp_linux_buffer_release_v1_t
buffer release explicit synchronization
Definition wayland-server-protocol-unstable.hpp:2622
wayland::server::zwp_linux_buffer_release_v1_t::immediate_release_since_version
static constexpr std::uint32_t immediate_release_since_version
Minimum protocol version required for the immediate_release function.
Definition wayland-server-protocol-unstable.hpp:2687
wayland::server::zwp_linux_buffer_release_v1_t::immediate_release
void immediate_release(bool post=true)
release buffer immediately
Definition wayland-server-protocol-unstable.cpp:5341
wayland::server::zwp_linux_buffer_release_v1_t::fenced_release
void fenced_release(int fence, bool post=true)
release buffer with fence
Definition wayland-server-protocol-unstable.cpp:5336
wayland::server::zwp_linux_buffer_release_v1_t::fenced_release_since_version
static constexpr std::uint32_t fenced_release_since_version
Minimum protocol version required for the fenced_release function.
Definition wayland-server-protocol-unstable.hpp:2666
wayland::server::zwp_linux_dmabuf_feedback_v1_t
dmabuf feedback
Definition wayland-server-protocol-unstable.hpp:2098
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_done_since_version
static constexpr std::uint32_t tranche_done_since_version
Minimum protocol version required for the tranche_done function.
Definition wayland-server-protocol-unstable.hpp:2218
wayland::server::zwp_linux_dmabuf_feedback_v1_t::main_device_since_version
static constexpr std::uint32_t main_device_since_version
Minimum protocol version required for the main_device function.
Definition wayland-server-protocol-unstable.hpp:2204
wayland::server::zwp_linux_dmabuf_feedback_v1_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:2144
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_flags_since_version
static constexpr std::uint32_t tranche_flags_since_version
Minimum protocol version required for the tranche_flags function.
Definition wayland-server-protocol-unstable.hpp:2309
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_target_device_since_version
static constexpr std::uint32_t tranche_target_device_since_version
Minimum protocol version required for the tranche_target_device function.
Definition wayland-server-protocol-unstable.hpp:2255
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_formats
void tranche_formats(array_t const &indices, bool post=true)
supported buffer format modifier
Definition wayland-server-protocol-unstable.cpp:5155
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_target_device
void tranche_target_device(array_t const &device, bool post=true)
target device
Definition wayland-server-protocol-unstable.cpp:5150
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_formats_since_version
static constexpr std::uint32_t tranche_formats_since_version
Minimum protocol version required for the tranche_formats function.
Definition wayland-server-protocol-unstable.hpp:2290
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_flags
void tranche_flags(zwp_linux_dmabuf_feedback_v1_tranche_flags const &flags, bool post=true)
tranche flags
Definition wayland-server-protocol-unstable.cpp:5160
wayland::server::zwp_linux_dmabuf_feedback_v1_t::main_device
void main_device(array_t const &device, bool post=true)
preferred main device
Definition wayland-server-protocol-unstable.cpp:5140
wayland::server::zwp_linux_dmabuf_feedback_v1_t::format_table_since_version
static constexpr std::uint32_t format_table_since_version
Minimum protocol version required for the format_table function.
Definition wayland-server-protocol-unstable.hpp:2170
wayland::server::zwp_linux_dmabuf_feedback_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the feedback object
Definition wayland-server-protocol-unstable.cpp:5124
wayland::server::zwp_linux_dmabuf_feedback_v1_t::format_table
void format_table(int fd, uint32_t size, bool post=true)
format and modifier table
Definition wayland-server-protocol-unstable.cpp:5135
wayland::server::zwp_linux_dmabuf_feedback_v1_t::done
void done(bool post=true)
all feedback has been sent
Definition wayland-server-protocol-unstable.cpp:5130
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_done
void tranche_done(bool post=true)
a preference tranche has been sent
Definition wayland-server-protocol-unstable.cpp:5145
wayland::server::zwp_linux_dmabuf_v1_t
factory for creating dmabuf-based wl_buffers
Definition wayland-server-protocol-unstable.hpp:1633
wayland::server::zwp_linux_dmabuf_v1_t::on_get_surface_feedback
std::function< void(zwp_linux_dmabuf_feedback_v1_t, surface_t)> & on_get_surface_feedback()
get feedback for a surface
Definition wayland-server-protocol-unstable.cpp:4944
wayland::server::zwp_linux_dmabuf_v1_t::format_since_version
static constexpr std::uint32_t format_since_version
Minimum protocol version required for the format function.
Definition wayland-server-protocol-unstable.hpp:1725
wayland::server::zwp_linux_dmabuf_v1_t::on_destroy
std::function< void()> & on_destroy()
unbind the factory
Definition wayland-server-protocol-unstable.cpp:4926
wayland::server::zwp_linux_dmabuf_v1_t::can_modifier
bool can_modifier() const
Check whether the modifier function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:4960
wayland::server::zwp_linux_dmabuf_v1_t::modifier_since_version
static constexpr std::uint32_t modifier_since_version
Minimum protocol version required for the modifier function.
Definition wayland-server-protocol-unstable.hpp:1761
wayland::server::zwp_linux_dmabuf_v1_t::on_get_default_feedback
std::function< void(zwp_linux_dmabuf_feedback_v1_t)> & on_get_default_feedback()
get default feedback
Definition wayland-server-protocol-unstable.cpp:4938
wayland::server::zwp_linux_dmabuf_v1_t::on_create_params
std::function< void(zwp_linux_buffer_params_v1_t)> & on_create_params()
create a temporary object for buffer parameters
Definition wayland-server-protocol-unstable.cpp:4932
wayland::server::zwp_linux_dmabuf_v1_t::modifier
void modifier(uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo, bool post=true)
supported buffer format modifier
Definition wayland-server-protocol-unstable.cpp:4955
wayland::server::zwp_linux_dmabuf_v1_t::format
void format(uint32_t format, bool post=true)
supported buffer format
Definition wayland-server-protocol-unstable.cpp:4950
wayland::server::zwp_linux_explicit_synchronization_v1_t
protocol for providing explicit synchronization
Definition wayland-server-protocol-unstable.hpp:2350
wayland::server::zwp_linux_explicit_synchronization_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy explicit synchronization factory object
Definition wayland-server-protocol-unstable.cpp:5198
wayland::server::zwp_linux_explicit_synchronization_v1_t::on_get_synchronization
std::function< void(zwp_linux_surface_synchronization_v1_t, surface_t)> & on_get_synchronization()
extend surface interface for explicit synchronization
Definition wayland-server-protocol-unstable.cpp:5204
wayland::server::zwp_linux_explicit_synchronization_v1_t::post_synchronization_exists
void post_synchronization_exists(std::string const &msg)
Post error: the surface already has a synchronization object associated.
Definition wayland-server-protocol-unstable.cpp:5210
wayland::server::zwp_linux_surface_synchronization_v1_t
per-surface explicit synchronization support
Definition wayland-server-protocol-unstable.hpp:2457
wayland::server::zwp_linux_surface_synchronization_v1_t::on_set_acquire_fence
std::function< void(int)> & on_set_acquire_fence()
set the acquire fence
Definition wayland-server-protocol-unstable.cpp:5256
wayland::server::zwp_linux_surface_synchronization_v1_t::post_duplicate_release
void post_duplicate_release(std::string const &msg)
Post error: multiple releases added for a single surface commit.
Definition wayland-server-protocol-unstable.cpp:5278
wayland::server::zwp_linux_surface_synchronization_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy synchronization object
Definition wayland-server-protocol-unstable.cpp:5250
wayland::server::zwp_linux_surface_synchronization_v1_t::post_unsupported_buffer
void post_unsupported_buffer(std::string const &msg)
Post error: the buffer does not support explicit synchronization.
Definition wayland-server-protocol-unstable.cpp:5288
wayland::server::zwp_linux_surface_synchronization_v1_t::post_no_buffer
void post_no_buffer(std::string const &msg)
Post error: no buffer was attached.
Definition wayland-server-protocol-unstable.cpp:5293
wayland::server::zwp_linux_surface_synchronization_v1_t::post_duplicate_fence
void post_duplicate_fence(std::string const &msg)
Post error: multiple fences added for a single surface commit.
Definition wayland-server-protocol-unstable.cpp:5273
wayland::server::zwp_linux_surface_synchronization_v1_t::post_invalid_fence
void post_invalid_fence(std::string const &msg)
Post error: the fence specified by the client could not be imported.
Definition wayland-server-protocol-unstable.cpp:5268
wayland::server::zwp_linux_surface_synchronization_v1_t::on_get_release
std::function< void(zwp_linux_buffer_release_v1_t)> & on_get_release()
release fence for last-attached buffer
Definition wayland-server-protocol-unstable.cpp:5262
wayland::server::zwp_linux_surface_synchronization_v1_t::post_no_surface
void post_no_surface(std::string const &msg)
Post error: the associated wl_surface was destroyed.
Definition wayland-server-protocol-unstable.cpp:5283
wayland::server::zwp_locked_pointer_v1_t
receive relative pointer motion events
Definition wayland-server-protocol-unstable.hpp:2882
wayland::server::zwp_locked_pointer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the locked pointer object
Definition wayland-server-protocol-unstable.cpp:5432
wayland::server::zwp_locked_pointer_v1_t::on_set_cursor_position_hint
std::function< void(double, double)> & on_set_cursor_position_hint()
set the pointer cursor position hint
Definition wayland-server-protocol-unstable.cpp:5438
wayland::server::zwp_locked_pointer_v1_t::locked_since_version
static constexpr std::uint32_t locked_since_version
Minimum protocol version required for the locked function.
Definition wayland-server-protocol-unstable.hpp:2959
wayland::server::zwp_locked_pointer_v1_t::unlocked
void unlocked(bool post=true)
lock deactivation event
Definition wayland-server-protocol-unstable.cpp:5455
wayland::server::zwp_locked_pointer_v1_t::locked
void locked(bool post=true)
lock activation event
Definition wayland-server-protocol-unstable.cpp:5450
wayland::server::zwp_locked_pointer_v1_t::unlocked_since_version
static constexpr std::uint32_t unlocked_since_version
Minimum protocol version required for the unlocked function.
Definition wayland-server-protocol-unstable.hpp:2975
wayland::server::zwp_locked_pointer_v1_t::on_set_region
std::function< void(region_t)> & on_set_region()
set a new lock region
Definition wayland-server-protocol-unstable.cpp:5444
wayland::server::zwp_pointer_constraints_v1_t
constrain the movement of a pointer
Definition wayland-server-protocol-unstable.hpp:2712
wayland::server::zwp_pointer_constraints_v1_t::on_confine_pointer
std::function< void(zwp_confined_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> & on_confine_pointer()
confine pointer to a region
Definition wayland-server-protocol-unstable.cpp:5382
wayland::server::zwp_pointer_constraints_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the pointer constraints manager object
Definition wayland-server-protocol-unstable.cpp:5370
wayland::server::zwp_pointer_constraints_v1_t::post_already_constrained
void post_already_constrained(std::string const &msg)
Post error: pointer constraint already requested on that surface.
Definition wayland-server-protocol-unstable.cpp:5388
wayland::server::zwp_pointer_constraints_v1_t::on_lock_pointer
std::function< void(zwp_locked_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> & on_lock_pointer()
lock pointer to a position
Definition wayland-server-protocol-unstable.cpp:5376
wayland::server::zwp_pointer_gesture_hold_v1_t
a hold gesture object
Definition wayland-server-protocol-unstable.hpp:3434
wayland::server::zwp_pointer_gesture_hold_v1_t::can_end
bool can_end() const
Check whether the end function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:5742
wayland::server::zwp_pointer_gesture_hold_v1_t::end_since_version
static constexpr std::uint32_t end_since_version
Minimum protocol version required for the end function.
Definition wayland-server-protocol-unstable.hpp:3504
wayland::server::zwp_pointer_gesture_hold_v1_t::end
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post=true)
multi-finger hold end
Definition wayland-server-protocol-unstable.cpp:5737
wayland::server::zwp_pointer_gesture_hold_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the hold gesture object
Definition wayland-server-protocol-unstable.cpp:5721
wayland::server::zwp_pointer_gesture_hold_v1_t::begin
void begin(uint32_t serial, uint32_t time, surface_t const &surface, uint32_t fingers, bool post=true)
multi-finger hold begin
Definition wayland-server-protocol-unstable.cpp:5727
wayland::server::zwp_pointer_gesture_hold_v1_t::can_begin
bool can_begin() const
Check whether the begin function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:5732
wayland::server::zwp_pointer_gesture_hold_v1_t::begin_since_version
static constexpr std::uint32_t begin_since_version
Minimum protocol version required for the begin function.
Definition wayland-server-protocol-unstable.hpp:3477
wayland::server::zwp_pointer_gesture_pinch_v1_t
a pinch gesture object
Definition wayland-server-protocol-unstable.hpp:3314
wayland::server::zwp_pointer_gesture_pinch_v1_t::begin_since_version
static constexpr std::uint32_t begin_since_version
Minimum protocol version required for the begin function.
Definition wayland-server-protocol-unstable.hpp:3358
wayland::server::zwp_pointer_gesture_pinch_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the pinch gesture object
Definition wayland-server-protocol-unstable.cpp:5669
wayland::server::zwp_pointer_gesture_pinch_v1_t::end_since_version
static constexpr std::uint32_t end_since_version
Minimum protocol version required for the end function.
Definition wayland-server-protocol-unstable.hpp:3405
wayland::server::zwp_pointer_gesture_pinch_v1_t::begin
void begin(uint32_t serial, uint32_t time, surface_t const &surface, uint32_t fingers, bool post=true)
multi-finger pinch begin
Definition wayland-server-protocol-unstable.cpp:5675
wayland::server::zwp_pointer_gesture_pinch_v1_t::end
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post=true)
multi-finger pinch end
Definition wayland-server-protocol-unstable.cpp:5685
wayland::server::zwp_pointer_gesture_pinch_v1_t::update_since_version
static constexpr std::uint32_t update_since_version
Minimum protocol version required for the update function.
Definition wayland-server-protocol-unstable.hpp:3385
wayland::server::zwp_pointer_gesture_pinch_v1_t::update
void update(uint32_t time, double dx, double dy, double scale, double rotation, bool post=true)
multi-finger pinch motion
Definition wayland-server-protocol-unstable.cpp:5680
wayland::server::zwp_pointer_gesture_swipe_v1_t
a swipe gesture object
Definition wayland-server-protocol-unstable.hpp:3205
wayland::server::zwp_pointer_gesture_swipe_v1_t::end
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post=true)
multi-finger swipe end
Definition wayland-server-protocol-unstable.cpp:5633
wayland::server::zwp_pointer_gesture_swipe_v1_t::update
void update(uint32_t time, double dx, double dy, bool post=true)
multi-finger swipe motion
Definition wayland-server-protocol-unstable.cpp:5628
wayland::server::zwp_pointer_gesture_swipe_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the pointer swipe gesture object
Definition wayland-server-protocol-unstable.cpp:5617
wayland::server::zwp_pointer_gesture_swipe_v1_t::end_since_version
static constexpr std::uint32_t end_since_version
Minimum protocol version required for the end function.
Definition wayland-server-protocol-unstable.hpp:3287
wayland::server::zwp_pointer_gesture_swipe_v1_t::begin
void begin(uint32_t serial, uint32_t time, surface_t const &surface, uint32_t fingers, bool post=true)
multi-finger swipe begin
Definition wayland-server-protocol-unstable.cpp:5623
wayland::server::zwp_pointer_gesture_swipe_v1_t::begin_since_version
static constexpr std::uint32_t begin_since_version
Minimum protocol version required for the begin function.
Definition wayland-server-protocol-unstable.hpp:3249
wayland::server::zwp_pointer_gesture_swipe_v1_t::update_since_version
static constexpr std::uint32_t update_since_version
Minimum protocol version required for the update function.
Definition wayland-server-protocol-unstable.hpp:3267
wayland::server::zwp_pointer_gestures_v1_t
touchpad gestures
Definition wayland-server-protocol-unstable.hpp:3114
wayland::server::zwp_pointer_gestures_v1_t::on_get_swipe_gesture
std::function< void(zwp_pointer_gesture_swipe_v1_t, pointer_t)> & on_get_swipe_gesture()
get swipe gesture
Definition wayland-server-protocol-unstable.cpp:5553
wayland::server::zwp_pointer_gestures_v1_t::on_get_hold_gesture
std::function< void(zwp_pointer_gesture_hold_v1_t, pointer_t)> & on_get_hold_gesture()
get hold gesture
Definition wayland-server-protocol-unstable.cpp:5571
wayland::server::zwp_pointer_gestures_v1_t::on_get_pinch_gesture
std::function< void(zwp_pointer_gesture_pinch_v1_t, pointer_t)> & on_get_pinch_gesture()
get pinch gesture
Definition wayland-server-protocol-unstable.cpp:5559
wayland::server::zwp_pointer_gestures_v1_t::on_release
std::function< void()> & on_release()
destroy the pointer gesture object
Definition wayland-server-protocol-unstable.cpp:5565
wayland::server::zwp_primary_selection_device_manager_v1_t
X primary selection emulation.
Definition wayland-server-protocol-unstable.hpp:3525
wayland::server::zwp_primary_selection_device_manager_v1_t::on_create_source
std::function< void(zwp_primary_selection_source_v1_t)> & on_create_source()
create a new primary selection source
Definition wayland-server-protocol-unstable.cpp:5778
wayland::server::zwp_primary_selection_device_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the primary selection device manager
Definition wayland-server-protocol-unstable.cpp:5790
wayland::server::zwp_primary_selection_device_manager_v1_t::on_get_device
std::function< void(zwp_primary_selection_device_v1_t, seat_t)> & on_get_device()
create a new primary selection device
Definition wayland-server-protocol-unstable.cpp:5784
wayland::server::zwp_primary_selection_offer_v1_t
offer to transfer primary selection contents
Definition wayland-server-protocol-unstable.hpp:3680
wayland::server::zwp_primary_selection_offer_v1_t::offer
void offer(std::string const &mime_type, bool post=true)
advertise offered mime type
Definition wayland-server-protocol-unstable.cpp:5901
wayland::server::zwp_primary_selection_offer_v1_t::offer_since_version
static constexpr std::uint32_t offer_since_version
Minimum protocol version required for the offer function.
Definition wayland-server-protocol-unstable.hpp:3743
wayland::server::zwp_primary_selection_offer_v1_t::on_receive
std::function< void(std::string, int)> & on_receive()
request that the data is transferred
Definition wayland-server-protocol-unstable.cpp:5889
wayland::server::zwp_primary_selection_offer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the primary selection offer
Definition wayland-server-protocol-unstable.cpp:5895
wayland::server::zwp_primary_selection_source_v1_t
offer to replace the contents of the primary selection
Definition wayland-server-protocol-unstable.hpp:3758
wayland::server::zwp_primary_selection_source_v1_t::send_since_version
static constexpr std::uint32_t send_since_version
Minimum protocol version required for the send function.
Definition wayland-server-protocol-unstable.hpp:3813
wayland::server::zwp_primary_selection_source_v1_t::cancelled_since_version
static constexpr std::uint32_t cancelled_since_version
Minimum protocol version required for the cancelled function.
Definition wayland-server-protocol-unstable.hpp:3825
wayland::server::zwp_primary_selection_source_v1_t::send
void send(std::string const &mime_type, int fd, bool post=true)
send the primary selection contents
Definition wayland-server-protocol-unstable.cpp:5952
wayland::server::zwp_primary_selection_source_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the primary selection source
Definition wayland-server-protocol-unstable.cpp:5946
wayland::server::zwp_primary_selection_source_v1_t::on_offer
std::function< void(std::string)> & on_offer()
add an offered mime type
Definition wayland-server-protocol-unstable.cpp:5940
wayland::server::zwp_primary_selection_source_v1_t::cancelled
void cancelled(bool post=true)
request for primary selection contents was canceled
Definition wayland-server-protocol-unstable.cpp:5957
wayland::server::zwp_relative_pointer_manager_v1_t
get relative pointer objects
Definition wayland-server-protocol-unstable.hpp:3839
wayland::server::zwp_relative_pointer_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the relative pointer manager object
Definition wayland-server-protocol-unstable.cpp:5996
wayland::server::zwp_relative_pointer_manager_v1_t::on_get_relative_pointer
std::function< void(zwp_relative_pointer_v1_t, pointer_t)> & on_get_relative_pointer()
get a relative pointer object
Definition wayland-server-protocol-unstable.cpp:6002
wayland::server::zwp_relative_pointer_v1_t
relative pointer object
Definition wayland-server-protocol-unstable.hpp:3897
wayland::server::zwp_relative_pointer_v1_t::relative_motion_since_version
static constexpr std::uint32_t relative_motion_since_version
Minimum protocol version required for the relative_motion function.
Definition wayland-server-protocol-unstable.hpp:3971
wayland::server::zwp_relative_pointer_v1_t::on_destroy
std::function< void()> & on_destroy()
release the relative pointer object
Definition wayland-server-protocol-unstable.cpp:6042
wayland::server::zwp_relative_pointer_v1_t::relative_motion
void relative_motion(uint32_t utime_hi, uint32_t utime_lo, double dx, double dy, double dx_unaccel, double dy_unaccel, bool post=true)
relative pointer motion
Definition wayland-server-protocol-unstable.cpp:6048
wayland::server::zwp_tablet_manager_v1_t
controller object for graphic tablet devices
Definition wayland-server-protocol-unstable.hpp:3986
wayland::server::zwp_tablet_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet manager object
Definition wayland-server-protocol-unstable.cpp:6090
wayland::server::zwp_tablet_manager_v1_t::on_get_tablet_seat
std::function< void(zwp_tablet_seat_v1_t, seat_t)> & on_get_tablet_seat()
get the tablet seat
Definition wayland-server-protocol-unstable.cpp:6084
wayland::server::zwp_tablet_manager_v2_t
controller object for graphic tablet devices
Definition wayland-server-protocol-unstable.hpp:4800
wayland::server::zwp_tablet_manager_v2_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet manager object
Definition wayland-server-protocol-unstable.cpp:6395
wayland::server::zwp_tablet_manager_v2_t::on_get_tablet_seat
std::function< void(zwp_tablet_seat_v2_t, seat_t)> & on_get_tablet_seat()
get the tablet seat
Definition wayland-server-protocol-unstable.cpp:6389
wayland::server::zwp_tablet_pad_group_v2_t
a set of buttons, rings and strips
Definition wayland-server-protocol-unstable.hpp:5995
wayland::server::zwp_tablet_pad_group_v2_t::strip_since_version
static constexpr std::uint32_t strip_since_version
Minimum protocol version required for the strip function.
Definition wayland-server-protocol-unstable.hpp:6079
wayland::server::zwp_tablet_pad_group_v2_t::modes_since_version
static constexpr std::uint32_t modes_since_version
Minimum protocol version required for the modes function.
Definition wayland-server-protocol-unstable.hpp:6102
wayland::server::zwp_tablet_pad_group_v2_t::done
void done(bool post=true)
tablet group description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6859
wayland::server::zwp_tablet_pad_group_v2_t::buttons
void buttons(array_t const &buttons, bool post=true)
buttons announced
Definition wayland-server-protocol-unstable.cpp:6839
wayland::server::zwp_tablet_pad_group_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the pad object
Definition wayland-server-protocol-unstable.cpp:6833
wayland::server::zwp_tablet_pad_group_v2_t::mode_switch
void mode_switch(uint32_t time, uint32_t serial, uint32_t mode, bool post=true)
mode switch event
Definition wayland-server-protocol-unstable.cpp:6864
wayland::server::zwp_tablet_pad_group_v2_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:6116
wayland::server::zwp_tablet_pad_group_v2_t::ring
void ring(bool post=true)
ring announced
Definition wayland-server-protocol-unstable.cpp:6844
wayland::server::zwp_tablet_pad_group_v2_t::buttons_since_version
static constexpr std::uint32_t buttons_since_version
Minimum protocol version required for the buttons function.
Definition wayland-server-protocol-unstable.hpp:6049
wayland::server::zwp_tablet_pad_group_v2_t::strip
void strip(bool post=true)
strip announced
Definition wayland-server-protocol-unstable.cpp:6849
wayland::server::zwp_tablet_pad_group_v2_t::ring_since_version
static constexpr std::uint32_t ring_since_version
Minimum protocol version required for the ring function.
Definition wayland-server-protocol-unstable.hpp:6064
wayland::server::zwp_tablet_pad_group_v2_t::modes
void modes(uint32_t modes, bool post=true)
mode-switch ability announced
Definition wayland-server-protocol-unstable.cpp:6854
wayland::server::zwp_tablet_pad_group_v2_t::mode_switch_since_version
static constexpr std::uint32_t mode_switch_since_version
Minimum protocol version required for the mode_switch function.
Definition wayland-server-protocol-unstable.hpp:6156
wayland::server::zwp_tablet_pad_ring_v2_t
pad ring
Definition wayland-server-protocol-unstable.hpp:5635
wayland::server::zwp_tablet_pad_ring_v2_t::angle_since_version
static constexpr std::uint32_t angle_since_version
Minimum protocol version required for the angle function.
Definition wayland-server-protocol-unstable.hpp:5731
wayland::server::zwp_tablet_pad_ring_v2_t::frame_since_version
static constexpr std::uint32_t frame_since_version
Minimum protocol version required for the frame function.
Definition wayland-server-protocol-unstable.hpp:5775
wayland::server::zwp_tablet_pad_ring_v2_t::source_since_version
static constexpr std::uint32_t source_since_version
Minimum protocol version required for the source function.
Definition wayland-server-protocol-unstable.hpp:5716
wayland::server::zwp_tablet_pad_ring_v2_t::angle
void angle(double degrees, bool post=true)
angle changed
Definition wayland-server-protocol-unstable.cpp:6716
wayland::server::zwp_tablet_pad_ring_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the ring object
Definition wayland-server-protocol-unstable.cpp:6705
wayland::server::zwp_tablet_pad_ring_v2_t::on_set_feedback
std::function< void(std::string, uint32_t)> & on_set_feedback()
set compositor feedback
Definition wayland-server-protocol-unstable.cpp:6699
wayland::server::zwp_tablet_pad_ring_v2_t::source
void source(zwp_tablet_pad_ring_v2_source const &source, bool post=true)
ring event source
Definition wayland-server-protocol-unstable.cpp:6711
wayland::server::zwp_tablet_pad_ring_v2_t::stop
void stop(bool post=true)
interaction stopped
Definition wayland-server-protocol-unstable.cpp:6721
wayland::server::zwp_tablet_pad_ring_v2_t::stop_since_version
static constexpr std::uint32_t stop_since_version
Minimum protocol version required for the stop function.
Definition wayland-server-protocol-unstable.hpp:5751
wayland::server::zwp_tablet_pad_ring_v2_t::frame
void frame(uint32_t time, bool post=true)
end of a ring event sequence
Definition wayland-server-protocol-unstable.cpp:6726
wayland::server::zwp_tablet_pad_strip_v2_t
pad strip
Definition wayland-server-protocol-unstable.hpp:5806
wayland::server::zwp_tablet_pad_strip_v2_t::frame
void frame(uint32_t time, bool post=true)
end of a strip event sequence
Definition wayland-server-protocol-unstable.cpp:6793
wayland::server::zwp_tablet_pad_strip_v2_t::position
void position(uint32_t position, bool post=true)
position changed
Definition wayland-server-protocol-unstable.cpp:6783
wayland::server::zwp_tablet_pad_strip_v2_t::position_since_version
static constexpr std::uint32_t position_since_version
Minimum protocol version required for the position function.
Definition wayland-server-protocol-unstable.hpp:5903
wayland::server::zwp_tablet_pad_strip_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the strip object
Definition wayland-server-protocol-unstable.cpp:6772
wayland::server::zwp_tablet_pad_strip_v2_t::source_since_version
static constexpr std::uint32_t source_since_version
Minimum protocol version required for the source function.
Definition wayland-server-protocol-unstable.hpp:5887
wayland::server::zwp_tablet_pad_strip_v2_t::on_set_feedback
std::function< void(std::string, uint32_t)> & on_set_feedback()
set compositor feedback
Definition wayland-server-protocol-unstable.cpp:6766
wayland::server::zwp_tablet_pad_strip_v2_t::source
void source(zwp_tablet_pad_strip_v2_source const &source, bool post=true)
strip event source
Definition wayland-server-protocol-unstable.cpp:6778
wayland::server::zwp_tablet_pad_strip_v2_t::frame_since_version
static constexpr std::uint32_t frame_since_version
Minimum protocol version required for the frame function.
Definition wayland-server-protocol-unstable.hpp:5948
wayland::server::zwp_tablet_pad_strip_v2_t::stop
void stop(bool post=true)
interaction stopped
Definition wayland-server-protocol-unstable.cpp:6788
wayland::server::zwp_tablet_pad_strip_v2_t::stop_since_version
static constexpr std::uint32_t stop_since_version
Minimum protocol version required for the stop function.
Definition wayland-server-protocol-unstable.hpp:5923
wayland::server::zwp_tablet_pad_v2_t
a set of buttons, rings and strips
Definition wayland-server-protocol-unstable.hpp:6190
wayland::server::zwp_tablet_pad_v2_t::on_set_feedback
std::function< void(uint32_t, std::string, uint32_t)> & on_set_feedback()
set compositor feedback
Definition wayland-server-protocol-unstable.cpp:6900
wayland::server::zwp_tablet_pad_v2_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:6321
wayland::server::zwp_tablet_pad_v2_t::leave
void leave(uint32_t serial, surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:6942
wayland::server::zwp_tablet_pad_v2_t::path
void path(std::string const &path, bool post=true)
path to the device
Definition wayland-server-protocol-unstable.cpp:6917
wayland::server::zwp_tablet_pad_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the pad object
Definition wayland-server-protocol-unstable.cpp:6906
wayland::server::zwp_tablet_pad_v2_t::button
void button(uint32_t time, uint32_t button, zwp_tablet_pad_v2_button_state const &state, bool post=true)
physical button state
Definition wayland-server-protocol-unstable.cpp:6932
wayland::server::zwp_tablet_pad_v2_t::removed
void removed(bool post=true)
pad removed event
Definition wayland-server-protocol-unstable.cpp:6947
wayland::server::zwp_tablet_pad_v2_t::buttons_since_version
static constexpr std::uint32_t buttons_since_version
Minimum protocol version required for the buttons function.
Definition wayland-server-protocol-unstable.hpp:6308
wayland::server::zwp_tablet_pad_v2_t::done
void done(bool post=true)
pad description event sequence complete
Definition wayland-server-protocol-unstable.cpp:6927
wayland::server::zwp_tablet_pad_v2_t::group
void group(bool post=true)
group announced
Definition wayland-server-protocol-unstable.cpp:6912
wayland::server::zwp_tablet_pad_v2_t::buttons
void buttons(uint32_t buttons, bool post=true)
buttons announced
Definition wayland-server-protocol-unstable.cpp:6922
wayland::server::zwp_tablet_pad_v2_t::leave_since_version
static constexpr std::uint32_t leave_since_version
Minimum protocol version required for the leave function.
Definition wayland-server-protocol-unstable.hpp:6363
wayland::server::zwp_tablet_pad_v2_t::button_since_version
static constexpr std::uint32_t button_since_version
Minimum protocol version required for the button function.
Definition wayland-server-protocol-unstable.hpp:6335
wayland::server::zwp_tablet_pad_v2_t::group_since_version
static constexpr std::uint32_t group_since_version
Minimum protocol version required for the group function.
Definition wayland-server-protocol-unstable.hpp:6270
wayland::server::zwp_tablet_pad_v2_t::enter
void enter(uint32_t serial, zwp_tablet_v2_t const &tablet, surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:6937
wayland::server::zwp_tablet_pad_v2_t::path_since_version
static constexpr std::uint32_t path_since_version
Minimum protocol version required for the path function.
Definition wayland-server-protocol-unstable.hpp:6291
wayland::server::zwp_tablet_pad_v2_t::removed_since_version
static constexpr std::uint32_t removed_since_version
Minimum protocol version required for the removed function.
Definition wayland-server-protocol-unstable.hpp:6379
wayland::server::zwp_tablet_pad_v2_t::enter_since_version
static constexpr std::uint32_t enter_since_version
Minimum protocol version required for the enter function.
Definition wayland-server-protocol-unstable.hpp:6349
wayland::server::zwp_tablet_seat_v1_t
controller object for graphic tablet devices of a seat
Definition wayland-server-protocol-unstable.hpp:4043
wayland::server::zwp_tablet_seat_v1_t::tablet_added
void tablet_added(bool post=true)
new device notification
Definition wayland-server-protocol-unstable.cpp:6136
wayland::server::zwp_tablet_seat_v1_t::tool_added
void tool_added(bool post=true)
a new tool has been used with a tablet
Definition wayland-server-protocol-unstable.cpp:6141
wayland::server::zwp_tablet_seat_v1_t::tablet_added_since_version
static constexpr std::uint32_t tablet_added_since_version
Minimum protocol version required for the tablet_added function.
Definition wayland-server-protocol-unstable.hpp:4089
wayland::server::zwp_tablet_seat_v1_t::tool_added_since_version
static constexpr std::uint32_t tool_added_since_version
Minimum protocol version required for the tool_added function.
Definition wayland-server-protocol-unstable.hpp:4104
wayland::server::zwp_tablet_seat_v1_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet seat object
Definition wayland-server-protocol-unstable.cpp:6130
wayland::server::zwp_tablet_seat_v2_t
controller object for graphic tablet devices of a seat
Definition wayland-server-protocol-unstable.hpp:4857
wayland::server::zwp_tablet_seat_v2_t::tablet_added_since_version
static constexpr std::uint32_t tablet_added_since_version
Minimum protocol version required for the tablet_added function.
Definition wayland-server-protocol-unstable.hpp:4903
wayland::server::zwp_tablet_seat_v2_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet seat object
Definition wayland-server-protocol-unstable.cpp:6435
wayland::server::zwp_tablet_seat_v2_t::tool_added_since_version
static constexpr std::uint32_t tool_added_since_version
Minimum protocol version required for the tool_added function.
Definition wayland-server-protocol-unstable.hpp:4918
wayland::server::zwp_tablet_seat_v2_t::tablet_added
void tablet_added(bool post=true)
new device notification
Definition wayland-server-protocol-unstable.cpp:6441
wayland::server::zwp_tablet_seat_v2_t::pad_added
void pad_added(bool post=true)
new pad notification
Definition wayland-server-protocol-unstable.cpp:6451
wayland::server::zwp_tablet_seat_v2_t::pad_added_since_version
static constexpr std::uint32_t pad_added_since_version
Minimum protocol version required for the pad_added function.
Definition wayland-server-protocol-unstable.hpp:4939
wayland::server::zwp_tablet_seat_v2_t::tool_added
void tool_added(bool post=true)
a new tool has been used with a tablet
Definition wayland-server-protocol-unstable.cpp:6446
wayland::server::zwp_tablet_tool_v1_t
a physical tablet tool
Definition wayland-server-protocol-unstable.hpp:4136
wayland::server::zwp_tablet_tool_v1_t::slider
void slider(int32_t position, bool post=true)
Slider position change event.
Definition wayland-server-protocol-unstable.cpp:6264
wayland::server::zwp_tablet_tool_v1_t::hardware_serial_since_version
static constexpr std::uint32_t hardware_serial_since_version
Minimum protocol version required for the hardware_serial function.
Definition wayland-server-protocol-unstable.hpp:4252
wayland::server::zwp_tablet_tool_v1_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:6284
wayland::server::zwp_tablet_tool_v1_t::hardware_id_wacom
void hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post=true)
hardware id notification in Wacom's format
Definition wayland-server-protocol-unstable.cpp:6199
wayland::server::zwp_tablet_tool_v1_t::capability_since_version
static constexpr std::uint32_t capability_since_version
Minimum protocol version required for the capability function.
Definition wayland-server-protocol-unstable.hpp:4292
wayland::server::zwp_tablet_tool_v1_t::motion_since_version
static constexpr std::uint32_t motion_since_version
Minimum protocol version required for the motion function.
Definition wayland-server-protocol-unstable.hpp:4435
wayland::server::zwp_tablet_tool_v1_t::type_since_version
static constexpr std::uint32_t type_since_version
Minimum protocol version required for the type function.
Definition wayland-server-protocol-unstable.hpp:4225
wayland::server::zwp_tablet_tool_v1_t::proximity_in_since_version
static constexpr std::uint32_t proximity_in_since_version
Minimum protocol version required for the proximity_in function.
Definition wayland-server-protocol-unstable.hpp:4351
wayland::server::zwp_tablet_tool_v1_t::distance_since_version
static constexpr std::uint32_t distance_since_version
Minimum protocol version required for the distance function.
Definition wayland-server-protocol-unstable.hpp:4467
wayland::server::zwp_tablet_tool_v1_t::tilt_since_version
static constexpr std::uint32_t tilt_since_version
Minimum protocol version required for the tilt function.
Definition wayland-server-protocol-unstable.hpp:4483
wayland::server::zwp_tablet_tool_v1_t::proximity_out_since_version
static constexpr std::uint32_t proximity_out_since_version
Minimum protocol version required for the proximity_out function.
Definition wayland-server-protocol-unstable.hpp:4373
wayland::server::zwp_tablet_tool_v1_t::removed_since_version
static constexpr std::uint32_t removed_since_version
Minimum protocol version required for the removed function.
Definition wayland-server-protocol-unstable.hpp:4329
wayland::server::zwp_tablet_tool_v1_t::done
void done(bool post=true)
tool description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6209
wayland::server::zwp_tablet_tool_v1_t::frame_since_version
static constexpr std::uint32_t frame_since_version
Minimum protocol version required for the frame function.
Definition wayland-server-protocol-unstable.hpp:4571
wayland::server::zwp_tablet_tool_v1_t::rotation_since_version
static constexpr std::uint32_t rotation_since_version
Minimum protocol version required for the rotation function.
Definition wayland-server-protocol-unstable.hpp:4497
wayland::server::zwp_tablet_tool_v1_t::button
void button(uint32_t serial, uint32_t button, zwp_tablet_tool_v1_button_state const &state, bool post=true)
button event
Definition wayland-server-protocol-unstable.cpp:6274
wayland::server::zwp_tablet_tool_v1_t::removed
void removed(bool post=true)
tool removed
Definition wayland-server-protocol-unstable.cpp:6214
wayland::server::zwp_tablet_tool_v1_t::up
void up(bool post=true)
tablet tool is no longer making contact
Definition wayland-server-protocol-unstable.cpp:6234
wayland::server::zwp_tablet_tool_v1_t::up_since_version
static constexpr std::uint32_t up_since_version
Minimum protocol version required for the up function.
Definition wayland-server-protocol-unstable.hpp:4422
wayland::server::zwp_tablet_tool_v1_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:4305
wayland::server::zwp_tablet_tool_v1_t::pressure_since_version
static constexpr std::uint32_t pressure_since_version
Minimum protocol version required for the pressure function.
Definition wayland-server-protocol-unstable.hpp:4451
wayland::server::zwp_tablet_tool_v1_t::rotation
void rotation(int32_t degrees, bool post=true)
z-rotation change event
Definition wayland-server-protocol-unstable.cpp:6259
wayland::server::zwp_tablet_tool_v1_t::button_since_version
static constexpr std::uint32_t button_since_version
Minimum protocol version required for the button function.
Definition wayland-server-protocol-unstable.hpp:4556
wayland::server::zwp_tablet_tool_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the tool object
Definition wayland-server-protocol-unstable.cpp:6183
wayland::server::zwp_tablet_tool_v1_t::on_set_cursor
std::function< void(uint32_t, surface_t, int32_t, int32_t)> & on_set_cursor()
set the tablet tool's surface
Definition wayland-server-protocol-unstable.cpp:6177
wayland::server::zwp_tablet_tool_v1_t::down_since_version
static constexpr std::uint32_t down_since_version
Minimum protocol version required for the down function.
Definition wayland-server-protocol-unstable.hpp:4396
wayland::server::zwp_tablet_tool_v1_t::down
void down(uint32_t serial, bool post=true)
tablet tool is making contact
Definition wayland-server-protocol-unstable.cpp:6229
wayland::server::zwp_tablet_tool_v1_t::distance
void distance(uint32_t distance, bool post=true)
distance change event
Definition wayland-server-protocol-unstable.cpp:6249
wayland::server::zwp_tablet_tool_v1_t::frame
void frame(uint32_t time, bool post=true)
frame event
Definition wayland-server-protocol-unstable.cpp:6279
wayland::server::zwp_tablet_tool_v1_t::tilt
void tilt(int32_t tilt_x, int32_t tilt_y, bool post=true)
tilt change event
Definition wayland-server-protocol-unstable.cpp:6254
wayland::server::zwp_tablet_tool_v1_t::proximity_out
void proximity_out(bool post=true)
proximity out event
Definition wayland-server-protocol-unstable.cpp:6224
wayland::server::zwp_tablet_tool_v1_t::wheel
void wheel(int32_t degrees, int32_t clicks, bool post=true)
Wheel delta event.
Definition wayland-server-protocol-unstable.cpp:6269
wayland::server::zwp_tablet_tool_v1_t::wheel_since_version
static constexpr std::uint32_t wheel_since_version
Minimum protocol version required for the wheel function.
Definition wayland-server-protocol-unstable.hpp:4537
wayland::server::zwp_tablet_tool_v1_t::pressure
void pressure(uint32_t pressure, bool post=true)
pressure change event
Definition wayland-server-protocol-unstable.cpp:6244
wayland::server::zwp_tablet_tool_v1_t::type
void type(zwp_tablet_tool_v1_type const &tool_type, bool post=true)
tool type
Definition wayland-server-protocol-unstable.cpp:6189
wayland::server::zwp_tablet_tool_v1_t::hardware_id_wacom_since_version
static constexpr std::uint32_t hardware_id_wacom_since_version
Minimum protocol version required for the hardware_id_wacom function.
Definition wayland-server-protocol-unstable.hpp:4274
wayland::server::zwp_tablet_tool_v1_t::hardware_serial
void hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post=true)
unique hardware serial number of the tool
Definition wayland-server-protocol-unstable.cpp:6194
wayland::server::zwp_tablet_tool_v1_t::motion
void motion(double x, double y, bool post=true)
motion event
Definition wayland-server-protocol-unstable.cpp:6239
wayland::server::zwp_tablet_tool_v1_t::slider_since_version
static constexpr std::uint32_t slider_since_version
Minimum protocol version required for the slider function.
Definition wayland-server-protocol-unstable.hpp:4513
wayland::server::zwp_tablet_tool_v1_t::proximity_in
void proximity_in(uint32_t serial, zwp_tablet_v1_t const &tablet, surface_t const &surface, bool post=true)
proximity in event
Definition wayland-server-protocol-unstable.cpp:6219
wayland::server::zwp_tablet_tool_v1_t::capability
void capability(zwp_tablet_tool_v1_capability const &capability, bool post=true)
tool capability notification
Definition wayland-server-protocol-unstable.cpp:6204
wayland::server::zwp_tablet_tool_v2_t
a physical tablet tool
Definition wayland-server-protocol-unstable.hpp:4971
wayland::server::zwp_tablet_tool_v2_t::hardware_id_wacom_since_version
static constexpr std::uint32_t hardware_id_wacom_since_version
Minimum protocol version required for the hardware_id_wacom function.
Definition wayland-server-protocol-unstable.hpp:5107
wayland::server::zwp_tablet_tool_v2_t::tilt
void tilt(double tilt_x, double tilt_y, bool post=true)
tilt change event
Definition wayland-server-protocol-unstable.cpp:6564
wayland::server::zwp_tablet_tool_v2_t::motion_since_version
static constexpr std::uint32_t motion_since_version
Minimum protocol version required for the motion function.
Definition wayland-server-protocol-unstable.hpp:5268
wayland::server::zwp_tablet_tool_v2_t::up_since_version
static constexpr std::uint32_t up_since_version
Minimum protocol version required for the up function.
Definition wayland-server-protocol-unstable.hpp:5255
wayland::server::zwp_tablet_tool_v2_t::type
void type(zwp_tablet_tool_v2_type const &tool_type, bool post=true)
tool type
Definition wayland-server-protocol-unstable.cpp:6499
wayland::server::zwp_tablet_tool_v2_t::down_since_version
static constexpr std::uint32_t down_since_version
Minimum protocol version required for the down function.
Definition wayland-server-protocol-unstable.hpp:5229
wayland::server::zwp_tablet_tool_v2_t::done
void done(bool post=true)
tool description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6519
wayland::server::zwp_tablet_tool_v2_t::hardware_serial_since_version
static constexpr std::uint32_t hardware_serial_since_version
Minimum protocol version required for the hardware_serial function.
Definition wayland-server-protocol-unstable.hpp:5085
wayland::server::zwp_tablet_tool_v2_t::slider_since_version
static constexpr std::uint32_t slider_since_version
Minimum protocol version required for the slider function.
Definition wayland-server-protocol-unstable.hpp:5346
wayland::server::zwp_tablet_tool_v2_t::removed
void removed(bool post=true)
tool removed
Definition wayland-server-protocol-unstable.cpp:6524
wayland::server::zwp_tablet_tool_v2_t::proximity_out
void proximity_out(bool post=true)
proximity out event
Definition wayland-server-protocol-unstable.cpp:6534
wayland::server::zwp_tablet_tool_v2_t::removed_since_version
static constexpr std::uint32_t removed_since_version
Minimum protocol version required for the removed function.
Definition wayland-server-protocol-unstable.hpp:5162
wayland::server::zwp_tablet_tool_v2_t::distance_since_version
static constexpr std::uint32_t distance_since_version
Minimum protocol version required for the distance function.
Definition wayland-server-protocol-unstable.hpp:5300
wayland::server::zwp_tablet_tool_v2_t::frame_since_version
static constexpr std::uint32_t frame_since_version
Minimum protocol version required for the frame function.
Definition wayland-server-protocol-unstable.hpp:5404
wayland::server::zwp_tablet_tool_v2_t::rotation_since_version
static constexpr std::uint32_t rotation_since_version
Minimum protocol version required for the rotation function.
Definition wayland-server-protocol-unstable.hpp:5330
wayland::server::zwp_tablet_tool_v2_t::wheel
void wheel(double degrees, int32_t clicks, bool post=true)
Wheel delta event.
Definition wayland-server-protocol-unstable.cpp:6579
wayland::server::zwp_tablet_tool_v2_t::rotation
void rotation(double degrees, bool post=true)
z-rotation change event
Definition wayland-server-protocol-unstable.cpp:6569
wayland::server::zwp_tablet_tool_v2_t::capability
void capability(zwp_tablet_tool_v2_capability const &capability, bool post=true)
tool capability notification
Definition wayland-server-protocol-unstable.cpp:6514
wayland::server::zwp_tablet_tool_v2_t::tilt_since_version
static constexpr std::uint32_t tilt_since_version
Minimum protocol version required for the tilt function.
Definition wayland-server-protocol-unstable.hpp:5316
wayland::server::zwp_tablet_tool_v2_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:5138
wayland::server::zwp_tablet_tool_v2_t::hardware_serial
void hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post=true)
unique hardware serial number of the tool
Definition wayland-server-protocol-unstable.cpp:6504
wayland::server::zwp_tablet_tool_v2_t::frame
void frame(uint32_t time, bool post=true)
frame event
Definition wayland-server-protocol-unstable.cpp:6589
wayland::server::zwp_tablet_tool_v2_t::on_set_cursor
std::function< void(uint32_t, surface_t, int32_t, int32_t)> & on_set_cursor()
set the tablet tool's surface
Definition wayland-server-protocol-unstable.cpp:6487
wayland::server::zwp_tablet_tool_v2_t::hardware_id_wacom
void hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post=true)
hardware id notification in Wacom's format
Definition wayland-server-protocol-unstable.cpp:6509
wayland::server::zwp_tablet_tool_v2_t::capability_since_version
static constexpr std::uint32_t capability_since_version
Minimum protocol version required for the capability function.
Definition wayland-server-protocol-unstable.hpp:5125
wayland::server::zwp_tablet_tool_v2_t::button_since_version
static constexpr std::uint32_t button_since_version
Minimum protocol version required for the button function.
Definition wayland-server-protocol-unstable.hpp:5389
wayland::server::zwp_tablet_tool_v2_t::button
void button(uint32_t serial, uint32_t button, zwp_tablet_tool_v2_button_state const &state, bool post=true)
button event
Definition wayland-server-protocol-unstable.cpp:6584
wayland::server::zwp_tablet_tool_v2_t::wheel_since_version
static constexpr std::uint32_t wheel_since_version
Minimum protocol version required for the wheel function.
Definition wayland-server-protocol-unstable.hpp:5370
wayland::server::zwp_tablet_tool_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the tool object
Definition wayland-server-protocol-unstable.cpp:6493
wayland::server::zwp_tablet_tool_v2_t::motion
void motion(double x, double y, bool post=true)
motion event
Definition wayland-server-protocol-unstable.cpp:6549
wayland::server::zwp_tablet_tool_v2_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:6594
wayland::server::zwp_tablet_tool_v2_t::pressure
void pressure(uint32_t pressure, bool post=true)
pressure change event
Definition wayland-server-protocol-unstable.cpp:6554
wayland::server::zwp_tablet_tool_v2_t::up
void up(bool post=true)
tablet tool is no longer making contact
Definition wayland-server-protocol-unstable.cpp:6544
wayland::server::zwp_tablet_tool_v2_t::proximity_in_since_version
static constexpr std::uint32_t proximity_in_since_version
Minimum protocol version required for the proximity_in function.
Definition wayland-server-protocol-unstable.hpp:5184
wayland::server::zwp_tablet_tool_v2_t::proximity_out_since_version
static constexpr std::uint32_t proximity_out_since_version
Minimum protocol version required for the proximity_out function.
Definition wayland-server-protocol-unstable.hpp:5206
wayland::server::zwp_tablet_tool_v2_t::pressure_since_version
static constexpr std::uint32_t pressure_since_version
Minimum protocol version required for the pressure function.
Definition wayland-server-protocol-unstable.hpp:5284
wayland::server::zwp_tablet_tool_v2_t::distance
void distance(uint32_t distance, bool post=true)
distance change event
Definition wayland-server-protocol-unstable.cpp:6559
wayland::server::zwp_tablet_tool_v2_t::down
void down(uint32_t serial, bool post=true)
tablet tool is making contact
Definition wayland-server-protocol-unstable.cpp:6539
wayland::server::zwp_tablet_tool_v2_t::slider
void slider(int32_t position, bool post=true)
Slider position change event.
Definition wayland-server-protocol-unstable.cpp:6574
wayland::server::zwp_tablet_tool_v2_t::proximity_in
void proximity_in(uint32_t serial, zwp_tablet_v2_t const &tablet, surface_t const &surface, bool post=true)
proximity in event
Definition wayland-server-protocol-unstable.cpp:6529
wayland::server::zwp_tablet_tool_v2_t::type_since_version
static constexpr std::uint32_t type_since_version
Minimum protocol version required for the type function.
Definition wayland-server-protocol-unstable.hpp:5058
wayland::server::zwp_tablet_v1_t
graphics tablet device
Definition wayland-server-protocol-unstable.hpp:4674
wayland::server::zwp_tablet_v1_t::path
void path(std::string const &path, bool post=true)
path to the device
Definition wayland-server-protocol-unstable.cpp:6343
wayland::server::zwp_tablet_v1_t::id_since_version
static constexpr std::uint32_t id_since_version
Minimum protocol version required for the id function.
Definition wayland-server-protocol-unstable.hpp:4731
wayland::server::zwp_tablet_v1_t::name
void name(std::string const &name, bool post=true)
tablet device name
Definition wayland-server-protocol-unstable.cpp:6333
wayland::server::zwp_tablet_v1_t::id
void id(uint32_t vid, uint32_t pid, bool post=true)
tablet device USB vendor/product id
Definition wayland-server-protocol-unstable.cpp:6338
wayland::server::zwp_tablet_v1_t::removed
void removed(bool post=true)
tablet removed event
Definition wayland-server-protocol-unstable.cpp:6353
wayland::server::zwp_tablet_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the tablet object
Definition wayland-server-protocol-unstable.cpp:6327
wayland::server::zwp_tablet_v1_t::done
void done(bool post=true)
tablet description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6348
wayland::server::zwp_tablet_v1_t::path_since_version
static constexpr std::uint32_t path_since_version
Minimum protocol version required for the path function.
Definition wayland-server-protocol-unstable.hpp:4756
wayland::server::zwp_tablet_v1_t::name_since_version
static constexpr std::uint32_t name_since_version
Minimum protocol version required for the name function.
Definition wayland-server-protocol-unstable.hpp:4717
wayland::server::zwp_tablet_v1_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:4770
wayland::server::zwp_tablet_v1_t::removed_since_version
static constexpr std::uint32_t removed_since_version
Minimum protocol version required for the removed function.
Definition wayland-server-protocol-unstable.hpp:4785
wayland::server::zwp_tablet_v2_t
graphics tablet device
Definition wayland-server-protocol-unstable.hpp:5507
wayland::server::zwp_tablet_v2_t::removed
void removed(bool post=true)
tablet removed event
Definition wayland-server-protocol-unstable.cpp:6663
wayland::server::zwp_tablet_v2_t::id
void id(uint32_t vid, uint32_t pid, bool post=true)
tablet device USB vendor/product id
Definition wayland-server-protocol-unstable.cpp:6648
wayland::server::zwp_tablet_v2_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:5603
wayland::server::zwp_tablet_v2_t::path
void path(std::string const &path, bool post=true)
path to the device
Definition wayland-server-protocol-unstable.cpp:6653
wayland::server::zwp_tablet_v2_t::path_since_version
static constexpr std::uint32_t path_since_version
Minimum protocol version required for the path function.
Definition wayland-server-protocol-unstable.hpp:5589
wayland::server::zwp_tablet_v2_t::done
void done(bool post=true)
tablet description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6658
wayland::server::zwp_tablet_v2_t::name
void name(std::string const &name, bool post=true)
tablet device name
Definition wayland-server-protocol-unstable.cpp:6643
wayland::server::zwp_tablet_v2_t::name_since_version
static constexpr std::uint32_t name_since_version
Minimum protocol version required for the name function.
Definition wayland-server-protocol-unstable.hpp:5550
wayland::server::zwp_tablet_v2_t::removed_since_version
static constexpr std::uint32_t removed_since_version
Minimum protocol version required for the removed function.
Definition wayland-server-protocol-unstable.hpp:5618
wayland::server::zwp_tablet_v2_t::id_since_version
static constexpr std::uint32_t id_since_version
Minimum protocol version required for the id function.
Definition wayland-server-protocol-unstable.hpp:5564
wayland::server::zwp_tablet_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the tablet object
Definition wayland-server-protocol-unstable.cpp:6637
wayland::server::zwp_text_input_manager_v1_t
text input manager
Definition wayland-server-protocol-unstable.hpp:6919
wayland::server::zwp_text_input_manager_v1_t::on_create_text_input
std::function< void(zwp_text_input_v1_t)> & on_create_text_input()
create text input
Definition wayland-server-protocol-unstable.cpp:7196
wayland::server::zwp_text_input_manager_v3_t
text input manager
Definition wayland-server-protocol-unstable.hpp:7461
wayland::server::zwp_text_input_manager_v3_t::on_destroy
std::function< void()> & on_destroy()
Destroy the wp_text_input_manager.
Definition wayland-server-protocol-unstable.cpp:7377
wayland::server::zwp_text_input_manager_v3_t::on_get_text_input
std::function< void(zwp_text_input_v3_t, seat_t)> & on_get_text_input()
create a new text input object
Definition wayland-server-protocol-unstable.cpp:7383
wayland::server::zwp_text_input_v1_t
text input
Definition wayland-server-protocol-unstable.hpp:6434
wayland::server::zwp_text_input_v1_t::input_panel_state
void input_panel_state(uint32_t state, bool post=true)
state of the input panel
Definition wayland-server-protocol-unstable.cpp:7068
wayland::server::zwp_text_input_v1_t::on_set_cursor_rectangle
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_cursor_rectangle()
Definition wayland-server-protocol-unstable.cpp:7029
wayland::server::zwp_text_input_v1_t::language
void language(uint32_t serial, std::string const &language, bool post=true)
language
Definition wayland-server-protocol-unstable.cpp:7108
wayland::server::zwp_text_input_v1_t::preedit_styling
void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const &style, bool post=true)
pre-edit styling
Definition wayland-server-protocol-unstable.cpp:7078
wayland::server::zwp_text_input_v1_t::modifiers_map
void modifiers_map(array_t const &map, bool post=true)
modifiers map
Definition wayland-server-protocol-unstable.cpp:7063
wayland::server::zwp_text_input_v1_t::on_hide_input_panel
std::function< void()> & on_hide_input_panel()
hide input panels
Definition wayland-server-protocol-unstable.cpp:7005
wayland::server::zwp_text_input_v1_t::on_activate
std::function< void(seat_t, surface_t)> & on_activate()
request activation
Definition wayland-server-protocol-unstable.cpp:6987
wayland::server::zwp_text_input_v1_t::leave
void leave(bool post=true)
leave event
Definition wayland-server-protocol-unstable.cpp:7058
wayland::server::zwp_text_input_v1_t::leave_since_version
static constexpr std::uint32_t leave_since_version
Minimum protocol version required for the leave function.
Definition wayland-server-protocol-unstable.hpp:6606
wayland::server::zwp_text_input_v1_t::keysym_since_version
static constexpr std::uint32_t keysym_since_version
Minimum protocol version required for the keysym function.
Definition wayland-server-protocol-unstable.hpp:6766
wayland::server::zwp_text_input_v1_t::modifiers_map_since_version
static constexpr std::uint32_t modifiers_map_since_version
Minimum protocol version required for the modifiers_map function.
Definition wayland-server-protocol-unstable.hpp:6620
wayland::server::zwp_text_input_v1_t::on_deactivate
std::function< void(seat_t)> & on_deactivate()
request deactivation
Definition wayland-server-protocol-unstable.cpp:6993
wayland::server::zwp_text_input_v1_t::on_set_content_type
std::function< void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> & on_set_content_type()
set content purpose and hint
Definition wayland-server-protocol-unstable.cpp:7023
wayland::server::zwp_text_input_v1_t::on_reset
std::function< void()> & on_reset()
reset
Definition wayland-server-protocol-unstable.cpp:7011
wayland::server::zwp_text_input_v1_t::keysym
void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const &state, uint32_t modifiers, bool post=true)
keysym
Definition wayland-server-protocol-unstable.cpp:7103
wayland::server::zwp_text_input_v1_t::cursor_position
void cursor_position(int32_t index, int32_t anchor, bool post=true)
set cursor to new position
Definition wayland-server-protocol-unstable.cpp:7093
wayland::server::zwp_text_input_v1_t::on_invoke_action
std::function< void(uint32_t, uint32_t)> & on_invoke_action()
Definition wayland-server-protocol-unstable.cpp:7047
wayland::server::zwp_text_input_v1_t::text_direction
void text_direction(uint32_t serial, zwp_text_input_v1_text_direction const &direction, bool post=true)
text direction
Definition wayland-server-protocol-unstable.cpp:7113
wayland::server::zwp_text_input_v1_t::language_since_version
static constexpr std::uint32_t language_since_version
Minimum protocol version required for the language function.
Definition wayland-server-protocol-unstable.hpp:6780
wayland::server::zwp_text_input_v1_t::preedit_string_since_version
static constexpr std::uint32_t preedit_string_since_version
Minimum protocol version required for the preedit_string function.
Definition wayland-server-protocol-unstable.hpp:6654
wayland::server::zwp_text_input_v1_t::on_commit_state
std::function< void(uint32_t)> & on_commit_state()
Definition wayland-server-protocol-unstable.cpp:7041
wayland::server::zwp_text_input_v1_t::preedit_cursor_since_version
static constexpr std::uint32_t preedit_cursor_since_version
Minimum protocol version required for the preedit_cursor function.
Definition wayland-server-protocol-unstable.hpp:6690
wayland::server::zwp_text_input_v1_t::text_direction_since_version
static constexpr std::uint32_t text_direction_since_version
Minimum protocol version required for the text_direction function.
Definition wayland-server-protocol-unstable.hpp:6797
wayland::server::zwp_text_input_v1_t::delete_surrounding_text_since_version
static constexpr std::uint32_t delete_surrounding_text_since_version
Minimum protocol version required for the delete_surrounding_text function.
Definition wayland-server-protocol-unstable.hpp:6745
wayland::server::zwp_text_input_v1_t::preedit_string
void preedit_string(uint32_t serial, std::string const &text, std::string const &commit, bool post=true)
pre-edit
Definition wayland-server-protocol-unstable.cpp:7073
wayland::server::zwp_text_input_v1_t::preedit_cursor
void preedit_cursor(int32_t index, bool post=true)
pre-edit cursor
Definition wayland-server-protocol-unstable.cpp:7083
wayland::server::zwp_text_input_v1_t::preedit_styling_since_version
static constexpr std::uint32_t preedit_styling_since_version
Minimum protocol version required for the preedit_styling function.
Definition wayland-server-protocol-unstable.hpp:6674
wayland::server::zwp_text_input_v1_t::delete_surrounding_text
void delete_surrounding_text(int32_t index, uint32_t length, bool post=true)
delete surrounding text
Definition wayland-server-protocol-unstable.cpp:7098
wayland::server::zwp_text_input_v1_t::on_set_preferred_language
std::function< void(std::string)> & on_set_preferred_language()
sets preferred language
Definition wayland-server-protocol-unstable.cpp:7035
wayland::server::zwp_text_input_v1_t::on_show_input_panel
std::function< void()> & on_show_input_panel()
show input panels
Definition wayland-server-protocol-unstable.cpp:6999
wayland::server::zwp_text_input_v1_t::enter_since_version
static constexpr std::uint32_t enter_since_version
Minimum protocol version required for the enter function.
Definition wayland-server-protocol-unstable.hpp:6593
wayland::server::zwp_text_input_v1_t::input_panel_state_since_version
static constexpr std::uint32_t input_panel_state_since_version
Minimum protocol version required for the input_panel_state function.
Definition wayland-server-protocol-unstable.hpp:6632
wayland::server::zwp_text_input_v1_t::cursor_position_since_version
static constexpr std::uint32_t cursor_position_since_version
Minimum protocol version required for the cursor_position function.
Definition wayland-server-protocol-unstable.hpp:6725
wayland::server::zwp_text_input_v1_t::commit_string_since_version
static constexpr std::uint32_t commit_string_since_version
Minimum protocol version required for the commit_string function.
Definition wayland-server-protocol-unstable.hpp:6709
wayland::server::zwp_text_input_v1_t::on_set_surrounding_text
std::function< void(std::string, uint32_t, uint32_t)> & on_set_surrounding_text()
sets the surrounding text
Definition wayland-server-protocol-unstable.cpp:7017
wayland::server::zwp_text_input_v1_t::commit_string
void commit_string(uint32_t serial, std::string const &text, bool post=true)
commit
Definition wayland-server-protocol-unstable.cpp:7088
wayland::server::zwp_text_input_v1_t::enter
void enter(surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:7053
wayland::server::zwp_text_input_v3_t
text input
Definition wayland-server-protocol-unstable.hpp:6988
wayland::server::zwp_text_input_v3_t::enter
void enter(surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:7281
wayland::server::zwp_text_input_v3_t::on_destroy
std::function< void()> & on_destroy()
Destroy the wp_text_input.
Definition wayland-server-protocol-unstable.cpp:7233
wayland::server::zwp_text_input_v3_t::on_set_text_change_cause
std::function< void(zwp_text_input_v3_change_cause)> & on_set_text_change_cause()
indicates the cause of surrounding text change
Definition wayland-server-protocol-unstable.cpp:7257
wayland::server::zwp_text_input_v3_t::delete_surrounding_text_since_version
static constexpr std::uint32_t delete_surrounding_text_since_version
Minimum protocol version required for the delete_surrounding_text function.
Definition wayland-server-protocol-unstable.hpp:7325
wayland::server::zwp_text_input_v3_t::on_enable
std::function< void()> & on_enable()
Request text input to be enabled.
Definition wayland-server-protocol-unstable.cpp:7239
wayland::server::zwp_text_input_v3_t::on_set_surrounding_text
std::function< void(std::string, int32_t, int32_t)> & on_set_surrounding_text()
sets the surrounding text
Definition wayland-server-protocol-unstable.cpp:7251
wayland::server::zwp_text_input_v3_t::preedit_string
void preedit_string(std::string const &text, int32_t cursor_begin, int32_t cursor_end, bool post=true)
pre-edit
Definition wayland-server-protocol-unstable.cpp:7291
wayland::server::zwp_text_input_v3_t::on_commit
std::function< void()> & on_commit()
commit state
Definition wayland-server-protocol-unstable.cpp:7275
wayland::server::zwp_text_input_v3_t::commit_string
void commit_string(std::string const &text, bool post=true)
text commit
Definition wayland-server-protocol-unstable.cpp:7296
wayland::server::zwp_text_input_v3_t::done
void done(uint32_t serial, bool post=true)
apply changes
Definition wayland-server-protocol-unstable.cpp:7306
wayland::server::zwp_text_input_v3_t::preedit_string_since_version
static constexpr std::uint32_t preedit_string_since_version
Minimum protocol version required for the preedit_string function.
Definition wayland-server-protocol-unstable.hpp:7280
wayland::server::zwp_text_input_v3_t::on_set_content_type
std::function< void(zwp_text_input_v3_content_hint, zwp_text_input_v3_content_purpose)> & on_set_content_type()
set content purpose and hint
Definition wayland-server-protocol-unstable.cpp:7263
wayland::server::zwp_text_input_v3_t::enter_since_version
static constexpr std::uint32_t enter_since_version
Minimum protocol version required for the enter function.
Definition wayland-server-protocol-unstable.hpp:7227
wayland::server::zwp_text_input_v3_t::delete_surrounding_text
void delete_surrounding_text(uint32_t before_length, uint32_t after_length, bool post=true)
delete surrounding text
Definition wayland-server-protocol-unstable.cpp:7301
wayland::server::zwp_text_input_v3_t::leave
void leave(surface_t const &surface, bool post=true)
leave event
Definition wayland-server-protocol-unstable.cpp:7286
wayland::server::zwp_text_input_v3_t::on_disable
std::function< void()> & on_disable()
Disable text input on a surface.
Definition wayland-server-protocol-unstable.cpp:7245
wayland::server::zwp_text_input_v3_t::on_set_cursor_rectangle
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_cursor_rectangle()
set cursor position
Definition wayland-server-protocol-unstable.cpp:7269
wayland::server::zwp_text_input_v3_t::commit_string_since_version
static constexpr std::uint32_t commit_string_since_version
Minimum protocol version required for the commit_string function.
Definition wayland-server-protocol-unstable.hpp:7299
wayland::server::zwp_text_input_v3_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:7358
wayland::server::zwp_text_input_v3_t::leave_since_version
static constexpr std::uint32_t leave_since_version
Minimum protocol version required for the leave function.
Definition wayland-server-protocol-unstable.hpp:7249
wayland::server::zwp_xwayland_keyboard_grab_manager_v1_t
context object for keyboard grab manager
Definition wayland-server-protocol-unstable.hpp:10018
wayland::server::zwp_xwayland_keyboard_grab_manager_v1_t::on_grab_keyboard
std::function< void(zwp_xwayland_keyboard_grab_v1_t, surface_t, seat_t)> & on_grab_keyboard()
grab the keyboard to a surface
Definition wayland-server-protocol-unstable.cpp:8739
wayland::server::zwp_xwayland_keyboard_grab_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the keyboard grab manager
Definition wayland-server-protocol-unstable.cpp:8733
wayland::server::zwp_xwayland_keyboard_grab_v1_t
interface for grabbing the keyboard
Definition wayland-server-protocol-unstable.hpp:10090
wayland::server::zwp_xwayland_keyboard_grab_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the grabbed keyboard object
Definition wayland-server-protocol-unstable.cpp:8779
wayland::server::zxdg_decoration_manager_v1_t
window decoration manager
Definition wayland-server-protocol-unstable.hpp:7748
wayland::server::zxdg_decoration_manager_v1_t::on_get_toplevel_decoration
std::function< void(zxdg_toplevel_decoration_v1_t, xdg_toplevel_t)> & on_get_toplevel_decoration()
create a new toplevel decoration object
Definition wayland-server-protocol-unstable.cpp:7568
wayland::server::zxdg_decoration_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the decoration manager object
Definition wayland-server-protocol-unstable.cpp:7562
wayland::server::zxdg_exported_v1_t
an exported surface handle
Definition wayland-server-protocol-unstable.hpp:8075
wayland::server::zxdg_exported_v1_t::handle
void handle(std::string const &handle, bool post=true)
the exported surface handle
Definition wayland-server-protocol-unstable.cpp:7783
wayland::server::zxdg_exported_v1_t::on_destroy
std::function< void()> & on_destroy()
unexport the exported surface
Definition wayland-server-protocol-unstable.cpp:7777
wayland::server::zxdg_exported_v1_t::handle_since_version
static constexpr std::uint32_t handle_since_version
Minimum protocol version required for the handle function.
Definition wayland-server-protocol-unstable.hpp:8122
wayland::server::zxdg_exported_v2_t
an exported surface handle
Definition wayland-server-protocol-unstable.hpp:8350
wayland::server::zxdg_exported_v2_t::on_destroy
std::function< void()> & on_destroy()
unexport the exported surface
Definition wayland-server-protocol-unstable.cpp:7968
wayland::server::zxdg_exported_v2_t::handle_since_version
static constexpr std::uint32_t handle_since_version
Minimum protocol version required for the handle function.
Definition wayland-server-protocol-unstable.hpp:8397
wayland::server::zxdg_exported_v2_t::handle
void handle(std::string const &handle, bool post=true)
the exported surface handle
Definition wayland-server-protocol-unstable.cpp:7974
wayland::server::zxdg_exporter_v1_t
interface for exporting surfaces
Definition wayland-server-protocol-unstable.hpp:7951
wayland::server::zxdg_exporter_v1_t::on_export
std::function< void(zxdg_exported_v1_t, surface_t)> & on_export()
export a surface
Definition wayland-server-protocol-unstable.cpp:7691
wayland::server::zxdg_exporter_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_exporter object
Definition wayland-server-protocol-unstable.cpp:7685
wayland::server::zxdg_exporter_v2_t
interface for exporting surfaces
Definition wayland-server-protocol-unstable.hpp:8209
wayland::server::zxdg_exporter_v2_t::on_export_toplevel
std::function< void(zxdg_exported_v2_t, surface_t)> & on_export_toplevel()
export a toplevel surface
Definition wayland-server-protocol-unstable.cpp:7876
wayland::server::zxdg_exporter_v2_t::post_invalid_surface
void post_invalid_surface(std::string const &msg)
Post error: surface is not an xdg_toplevel.
Definition wayland-server-protocol-unstable.cpp:7882
wayland::server::zxdg_exporter_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_exporter object
Definition wayland-server-protocol-unstable.cpp:7870
wayland::server::zxdg_imported_v1_t
an imported surface handle
Definition wayland-server-protocol-unstable.hpp:8137
wayland::server::zxdg_imported_v1_t::destroyed
void destroyed(bool post=true)
the imported surface handle has been destroyed
Definition wayland-server-protocol-unstable.cpp:7831
wayland::server::zxdg_imported_v1_t::on_set_parent_of
std::function< void(surface_t)> & on_set_parent_of()
set as the parent of some surface
Definition wayland-server-protocol-unstable.cpp:7825
wayland::server::zxdg_imported_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_imported object
Definition wayland-server-protocol-unstable.cpp:7819
wayland::server::zxdg_imported_v1_t::destroyed_since_version
static constexpr std::uint32_t destroyed_since_version
Minimum protocol version required for the destroyed function.
Definition wayland-server-protocol-unstable.hpp:8195
wayland::server::zxdg_imported_v2_t
an imported surface handle
Definition wayland-server-protocol-unstable.hpp:8412
wayland::server::zxdg_imported_v2_t::destroyed_since_version
static constexpr std::uint32_t destroyed_since_version
Minimum protocol version required for the destroyed function.
Definition wayland-server-protocol-unstable.hpp:8471
wayland::server::zxdg_imported_v2_t::post_invalid_surface
void post_invalid_surface(std::string const &msg)
Post error: surface is not an xdg_toplevel.
Definition wayland-server-protocol-unstable.cpp:8027
wayland::server::zxdg_imported_v2_t::destroyed
void destroyed(bool post=true)
the imported surface handle has been destroyed
Definition wayland-server-protocol-unstable.cpp:8022
wayland::server::zxdg_imported_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_imported object
Definition wayland-server-protocol-unstable.cpp:8010
wayland::server::zxdg_imported_v2_t::on_set_parent_of
std::function< void(surface_t)> & on_set_parent_of()
set as the parent of some surface
Definition wayland-server-protocol-unstable.cpp:8016
wayland::server::zxdg_importer_v1_t
interface for importing surfaces
Definition wayland-server-protocol-unstable.hpp:8014
wayland::server::zxdg_importer_v1_t::on_import
std::function< void(zxdg_imported_v1_t, std::string)> & on_import()
import a surface
Definition wayland-server-protocol-unstable.cpp:7737
wayland::server::zxdg_importer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_importer object
Definition wayland-server-protocol-unstable.cpp:7731
wayland::server::zxdg_importer_v2_t
interface for importing surfaces
Definition wayland-server-protocol-unstable.hpp:8289
wayland::server::zxdg_importer_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_importer object
Definition wayland-server-protocol-unstable.cpp:7922
wayland::server::zxdg_importer_v2_t::on_import_toplevel
std::function< void(zxdg_imported_v2_t, std::string)> & on_import_toplevel()
import a toplevel surface
Definition wayland-server-protocol-unstable.cpp:7928
wayland::server::zxdg_output_manager_v1_t
manage xdg_output objects
Definition wayland-server-protocol-unstable.hpp:8500
wayland::server::zxdg_output_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_output_manager object
Definition wayland-server-protocol-unstable.cpp:8067
wayland::server::zxdg_output_manager_v1_t::on_get_xdg_output
std::function< void(zxdg_output_v1_t, output_t)> & on_get_xdg_output()
create an xdg output from a wl_output
Definition wayland-server-protocol-unstable.cpp:8073
wayland::server::zxdg_output_v1_t
compositor logical output region
Definition wayland-server-protocol-unstable.hpp:8564
wayland::server::zxdg_output_v1_t::done_since_version
static constexpr std::uint32_t done_since_version
Minimum protocol version required for the done function.
Definition wayland-server-protocol-unstable.hpp:8678
wayland::server::zxdg_output_v1_t::can_name
bool can_name() const
Check whether the name function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:8139
wayland::server::zxdg_output_v1_t::logical_position
void logical_position(int32_t x, int32_t y, bool post=true)
position of the output within the global compositor space
Definition wayland-server-protocol-unstable.cpp:8119
wayland::server::zxdg_output_v1_t::done
void done(bool post=true)
all information about the output have been sent
Definition wayland-server-protocol-unstable.cpp:8129
wayland::server::zxdg_output_v1_t::can_description
bool can_description() const
Check whether the description function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:8149
wayland::server::zxdg_output_v1_t::logical_position_since_version
static constexpr std::uint32_t logical_position_since_version
Minimum protocol version required for the logical_position function.
Definition wayland-server-protocol-unstable.hpp:8613
wayland::server::zxdg_output_v1_t::name_since_version
static constexpr std::uint32_t name_since_version
Minimum protocol version required for the name function.
Definition wayland-server-protocol-unstable.hpp:8707
wayland::server::zxdg_output_v1_t::logical_size
void logical_size(int32_t width, int32_t height, bool post=true)
size of the output in the global compositor space
Definition wayland-server-protocol-unstable.cpp:8124
wayland::server::zxdg_output_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_output object
Definition wayland-server-protocol-unstable.cpp:8113
wayland::server::zxdg_output_v1_t::description_since_version
static constexpr std::uint32_t description_since_version
Minimum protocol version required for the description function.
Definition wayland-server-protocol-unstable.hpp:8738
wayland::server::zxdg_output_v1_t::name
void name(std::string const &name, bool post=true)
name of this output
Definition wayland-server-protocol-unstable.cpp:8134
wayland::server::zxdg_output_v1_t::description
void description(std::string const &description, bool post=true)
human-readable description of this output
Definition wayland-server-protocol-unstable.cpp:8144
wayland::server::zxdg_output_v1_t::logical_size_since_version
static constexpr std::uint32_t logical_size_since_version
Minimum protocol version required for the logical_size function.
Definition wayland-server-protocol-unstable.hpp:8659
wayland::server::zxdg_popup_v6_t
short-lived, popup surfaces for menus
Definition wayland-server-protocol-unstable.hpp:9874
wayland::server::zxdg_popup_v6_t::post_invalid_grab
void post_invalid_grab(std::string const &msg)
Post error: tried to grab after being mapped.
Definition wayland-server-protocol-unstable.cpp:8693
wayland::server::zxdg_popup_v6_t::popup_done
void popup_done(bool post=true)
popup interaction is done
Definition wayland-server-protocol-unstable.cpp:8688
wayland::server::zxdg_popup_v6_t::configure_since_version
static constexpr std::uint32_t configure_since_version
Minimum protocol version required for the configure function.
Definition wayland-server-protocol-unstable.hpp:9979
wayland::server::zxdg_popup_v6_t::popup_done_since_version
static constexpr std::uint32_t popup_done_since_version
Minimum protocol version required for the popup_done function.
Definition wayland-server-protocol-unstable.hpp:9992
wayland::server::zxdg_popup_v6_t::on_grab
std::function< void(seat_t, uint32_t)> & on_grab()
make the popup take an explicit grab
Definition wayland-server-protocol-unstable.cpp:8677
wayland::server::zxdg_popup_v6_t::on_destroy
std::function< void()> & on_destroy()
remove xdg_popup interface
Definition wayland-server-protocol-unstable.cpp:8671
wayland::server::zxdg_popup_v6_t::configure
void configure(int32_t x, int32_t y, int32_t width, int32_t height, bool post=true)
configure the popup surface
Definition wayland-server-protocol-unstable.cpp:8683
wayland::server::zxdg_positioner_v6_t
child surface positioner
Definition wayland-server-protocol-unstable.hpp:8930
wayland::server::zxdg_positioner_v6_t::on_set_anchor
std::function< void(zxdg_positioner_v6_anchor)> & on_set_anchor()
set anchor rectangle anchor edges
Definition wayland-server-protocol-unstable.cpp:8303
wayland::server::zxdg_positioner_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_positioner object
Definition wayland-server-protocol-unstable.cpp:8285
wayland::server::zxdg_positioner_v6_t::on_set_offset
std::function< void(int32_t, int32_t)> & on_set_offset()
set surface position offset
Definition wayland-server-protocol-unstable.cpp:8321
wayland::server::zxdg_positioner_v6_t::on_set_constraint_adjustment
std::function< void(zxdg_positioner_v6_constraint_adjustment)> & on_set_constraint_adjustment()
set the adjustment to be done when constrained
Definition wayland-server-protocol-unstable.cpp:8315
wayland::server::zxdg_positioner_v6_t::on_set_gravity
std::function< void(zxdg_positioner_v6_gravity)> & on_set_gravity()
set child surface gravity
Definition wayland-server-protocol-unstable.cpp:8309
wayland::server::zxdg_positioner_v6_t::on_set_size
std::function< void(int32_t, int32_t)> & on_set_size()
set the size of the to-be positioned rectangle
Definition wayland-server-protocol-unstable.cpp:8291
wayland::server::zxdg_positioner_v6_t::post_invalid_input
void post_invalid_input(std::string const &msg)
Post error: invalid input provided.
Definition wayland-server-protocol-unstable.cpp:8327
wayland::server::zxdg_positioner_v6_t::on_set_anchor_rect
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_anchor_rect()
set the anchor rectangle within the parent surface
Definition wayland-server-protocol-unstable.cpp:8297
wayland::server::zxdg_shell_v6_t
create desktop-style surfaces
Definition wayland-server-protocol-unstable.hpp:8759
wayland::server::zxdg_shell_v6_t::post_invalid_surface_state
void post_invalid_surface_state(std::string const &msg)
Post error: the client provided an invalid surface state.
Definition wayland-server-protocol-unstable.cpp:8234
wayland::server::zxdg_shell_v6_t::post_invalid_positioner
void post_invalid_positioner(std::string const &msg)
Post error: the client provided an invalid positioner.
Definition wayland-server-protocol-unstable.cpp:8239
wayland::server::zxdg_shell_v6_t::ping_since_version
static constexpr std::uint32_t ping_since_version
Minimum protocol version required for the ping function.
Definition wayland-server-protocol-unstable.hpp:8856
wayland::server::zxdg_shell_v6_t::ping
void ping(uint32_t serial, bool post=true)
check if the client is alive
Definition wayland-server-protocol-unstable.cpp:8209
wayland::server::zxdg_shell_v6_t::post_defunct_surfaces
void post_defunct_surfaces(std::string const &msg)
Post error: xdg_shell was destroyed before children.
Definition wayland-server-protocol-unstable.cpp:8219
wayland::server::zxdg_shell_v6_t::on_create_positioner
std::function< void(zxdg_positioner_v6_t)> & on_create_positioner()
create a positioner object
Definition wayland-server-protocol-unstable.cpp:8191
wayland::server::zxdg_shell_v6_t::on_pong
std::function< void(uint32_t)> & on_pong()
respond to a ping event
Definition wayland-server-protocol-unstable.cpp:8203
wayland::server::zxdg_shell_v6_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:8214
wayland::server::zxdg_shell_v6_t::on_get_xdg_surface
std::function< void(zxdg_surface_v6_t, surface_t)> & on_get_xdg_surface()
create a shell surface from a surface
Definition wayland-server-protocol-unstable.cpp:8197
wayland::server::zxdg_shell_v6_t::post_not_the_topmost_popup
void post_not_the_topmost_popup(std::string const &msg)
Post error: the client tried to map or destroy a non-topmost popup.
Definition wayland-server-protocol-unstable.cpp:8224
wayland::server::zxdg_shell_v6_t::post_invalid_popup_parent
void post_invalid_popup_parent(std::string const &msg)
Post error: the client specified an invalid popup parent surface.
Definition wayland-server-protocol-unstable.cpp:8229
wayland::server::zxdg_shell_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy xdg_shell
Definition wayland-server-protocol-unstable.cpp:8185
wayland::server::zxdg_surface_v6_t
desktop user interface surface base interface
Definition wayland-server-protocol-unstable.hpp:9198
wayland::server::zxdg_surface_v6_t::configure_since_version
static constexpr std::uint32_t configure_since_version
Minimum protocol version required for the configure function.
Definition wayland-server-protocol-unstable.hpp:9346
wayland::server::zxdg_surface_v6_t::on_ack_configure
std::function< void(uint32_t)> & on_ack_configure()
ack a configure event
Definition wayland-server-protocol-unstable.cpp:8426
wayland::server::zxdg_surface_v6_t::configure
void configure(uint32_t serial, bool post=true)
suggest a surface change
Definition wayland-server-protocol-unstable.cpp:8432
wayland::server::zxdg_surface_v6_t::on_get_toplevel
std::function< void(zxdg_toplevel_v6_t)> & on_get_toplevel()
assign the xdg_toplevel surface role
Definition wayland-server-protocol-unstable.cpp:8408
wayland::server::zxdg_surface_v6_t::on_get_popup
std::function< void(zxdg_popup_v6_t, zxdg_surface_v6_t, zxdg_positioner_v6_t)> & on_get_popup()
assign the xdg_popup surface role
Definition wayland-server-protocol-unstable.cpp:8414
wayland::server::zxdg_surface_v6_t::post_not_constructed
void post_not_constructed(std::string const &msg)
Post error:
Definition wayland-server-protocol-unstable.cpp:8437
wayland::server::zxdg_surface_v6_t::post_unconfigured_buffer
void post_unconfigured_buffer(std::string const &msg)
Post error:
Definition wayland-server-protocol-unstable.cpp:8447
wayland::server::zxdg_surface_v6_t::on_set_window_geometry
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_window_geometry()
set the new window geometry
Definition wayland-server-protocol-unstable.cpp:8420
wayland::server::zxdg_surface_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_surface
Definition wayland-server-protocol-unstable.cpp:8402
wayland::server::zxdg_surface_v6_t::post_already_constructed
void post_already_constructed(std::string const &msg)
Post error:
Definition wayland-server-protocol-unstable.cpp:8442
wayland::server::zxdg_toplevel_decoration_v1_t
decoration object for a toplevel surface
Definition wayland-server-protocol-unstable.hpp:7813
wayland::server::zxdg_toplevel_decoration_v1_t::post_already_constructed
void post_already_constructed(std::string const &msg)
Post error: xdg_toplevel already has a decoration object.
Definition wayland-server-protocol-unstable.cpp:7636
wayland::server::zxdg_toplevel_decoration_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the decoration object
Definition wayland-server-protocol-unstable.cpp:7608
wayland::server::zxdg_toplevel_decoration_v1_t::on_unset_mode
std::function< void()> & on_unset_mode()
unset the decoration mode
Definition wayland-server-protocol-unstable.cpp:7620
wayland::server::zxdg_toplevel_decoration_v1_t::on_set_mode
std::function< void(zxdg_toplevel_decoration_v1_mode)> & on_set_mode()
set the decoration mode
Definition wayland-server-protocol-unstable.cpp:7614
wayland::server::zxdg_toplevel_decoration_v1_t::configure
void configure(zxdg_toplevel_decoration_v1_mode const &mode, bool post=true)
suggest a surface change
Definition wayland-server-protocol-unstable.cpp:7626
wayland::server::zxdg_toplevel_decoration_v1_t::post_unconfigured_buffer
void post_unconfigured_buffer(std::string const &msg)
Post error: xdg_toplevel has a buffer attached before configure.
Definition wayland-server-protocol-unstable.cpp:7631
wayland::server::zxdg_toplevel_decoration_v1_t::post_orphaned
void post_orphaned(std::string const &msg)
Post error: xdg_toplevel destroyed before the decoration object.
Definition wayland-server-protocol-unstable.cpp:7641
wayland::server::zxdg_toplevel_decoration_v1_t::configure_since_version
static constexpr std::uint32_t configure_since_version
Minimum protocol version required for the configure function.
Definition wayland-server-protocol-unstable.hpp:7899
wayland::server::zxdg_toplevel_v6_t
toplevel surface
Definition wayland-server-protocol-unstable.hpp:9385
wayland::server::zxdg_toplevel_v6_t::close_since_version
static constexpr std::uint32_t close_since_version
Minimum protocol version required for the close function.
Definition wayland-server-protocol-unstable.hpp:9783
wayland::server::zxdg_toplevel_v6_t::on_set_title
std::function< void(std::string)> & on_set_title()
set surface title
Definition wayland-server-protocol-unstable.cpp:8508
wayland::server::zxdg_toplevel_v6_t::on_set_app_id
std::function< void(std::string)> & on_set_app_id()
set application ID
Definition wayland-server-protocol-unstable.cpp:8514
wayland::server::zxdg_toplevel_v6_t::on_set_fullscreen
std::function< void(output_t)> & on_set_fullscreen()
set the window as fullscreen on a monitor
Definition wayland-server-protocol-unstable.cpp:8562
wayland::server::zxdg_toplevel_v6_t::on_move
std::function< void(seat_t, uint32_t)> & on_move()
start an interactive move
Definition wayland-server-protocol-unstable.cpp:8526
wayland::server::zxdg_toplevel_v6_t::on_unset_maximized
std::function< void()> & on_unset_maximized()
unmaximize the window
Definition wayland-server-protocol-unstable.cpp:8556
wayland::server::zxdg_toplevel_v6_t::close
void close(bool post=true)
surface wants to be closed
Definition wayland-server-protocol-unstable.cpp:8585
wayland::server::zxdg_toplevel_v6_t::on_set_maximized
std::function< void()> & on_set_maximized()
maximize the window
Definition wayland-server-protocol-unstable.cpp:8550
wayland::server::zxdg_toplevel_v6_t::on_set_parent
std::function< void(zxdg_toplevel_v6_t)> & on_set_parent()
set the parent of this surface
Definition wayland-server-protocol-unstable.cpp:8502
wayland::server::zxdg_toplevel_v6_t::on_show_window_menu
std::function< void(seat_t, uint32_t, int32_t, int32_t)> & on_show_window_menu()
show the window menu
Definition wayland-server-protocol-unstable.cpp:8520
wayland::server::zxdg_toplevel_v6_t::on_set_min_size
std::function< void(int32_t, int32_t)> & on_set_min_size()
set the minimum size
Definition wayland-server-protocol-unstable.cpp:8544
wayland::server::zxdg_toplevel_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_toplevel
Definition wayland-server-protocol-unstable.cpp:8496
wayland::server::zxdg_toplevel_v6_t::on_set_minimized
std::function< void()> & on_set_minimized()
set the window as minimized
Definition wayland-server-protocol-unstable.cpp:8574
wayland::server::zxdg_toplevel_v6_t::configure_since_version
static constexpr std::uint32_t configure_since_version
Minimum protocol version required for the configure function.
Definition wayland-server-protocol-unstable.hpp:9765
wayland::server::zxdg_toplevel_v6_t::on_resize
std::function< void(seat_t, uint32_t, zxdg_toplevel_v6_resize_edge)> & on_resize()
start an interactive resize
Definition wayland-server-protocol-unstable.cpp:8532
wayland::server::zxdg_toplevel_v6_t::on_set_max_size
std::function< void(int32_t, int32_t)> & on_set_max_size()
set the maximum size
Definition wayland-server-protocol-unstable.cpp:8538
wayland::server::zxdg_toplevel_v6_t::configure
void configure(int32_t width, int32_t height, array_t const &states, bool post=true)
suggest a surface change
Definition wayland-server-protocol-unstable.cpp:8580
wayland::zwp_primary_selection_offer_v1_t
offer to transfer primary selection contents
Definition wayland-client-protocol-unstable.hpp:3300
wayland::zwp_primary_selection_source_v1_t
offer to replace the contents of the primary selection
Definition wayland-client-protocol-unstable.hpp:3365
wayland::server::zwp_text_input_v1_content_hint
content hint
Definition wayland-server-protocol-unstable.hpp:6810
wayland::server::zwp_text_input_v1_content_hint::latin
static const wayland::detail::bitfield< 10, 23 > latin
just latin characters should be entered
Definition wayland-server-protocol-unstable.hpp:6838
wayland::server::zwp_text_input_v1_content_hint::lowercase
static const wayland::detail::bitfield< 10, 23 > lowercase
prefer lowercase letters
Definition wayland-server-protocol-unstable.hpp:6828
wayland::server::zwp_text_input_v1_content_hint::hidden_text
static const wayland::detail::bitfield< 10, 23 > hidden_text
characters should be hidden
Definition wayland-server-protocol-unstable.hpp:6834
wayland::server::zwp_text_input_v1_content_hint::multiline
static const wayland::detail::bitfield< 10, 23 > multiline
the text input is multiline
Definition wayland-server-protocol-unstable.hpp:6840
wayland::server::zwp_text_input_v1_content_hint::auto_completion
static const wayland::detail::bitfield< 10, 23 > auto_completion
suggest word completions
Definition wayland-server-protocol-unstable.hpp:6822
wayland::server::zwp_text_input_v1_content_hint::auto_correction
static const wayland::detail::bitfield< 10, 23 > auto_correction
suggest word corrections
Definition wayland-server-protocol-unstable.hpp:6824
wayland::server::zwp_text_input_v1_content_hint::_default
static const wayland::detail::bitfield< 10, 23 > _default
auto completion, correction and capitalization
Definition wayland-server-protocol-unstable.hpp:6818
wayland::server::zwp_text_input_v1_content_hint::none
static const wayland::detail::bitfield< 10, 23 > none
no special behaviour
Definition wayland-server-protocol-unstable.hpp:6816
wayland::server::zwp_text_input_v1_content_hint::uppercase
static const wayland::detail::bitfield< 10, 23 > uppercase
prefer uppercase letters
Definition wayland-server-protocol-unstable.hpp:6830
wayland::server::zwp_text_input_v1_content_hint::titlecase
static const wayland::detail::bitfield< 10, 23 > titlecase
prefer casing for titles and headings (can be language dependent)
Definition wayland-server-protocol-unstable.hpp:6832
wayland::server::zwp_text_input_v1_content_hint::sensitive_data
static const wayland::detail::bitfield< 10, 23 > sensitive_data
typed text should not be stored
Definition wayland-server-protocol-unstable.hpp:6836
wayland::server::zwp_text_input_v1_content_hint::password
static const wayland::detail::bitfield< 10, 23 > password
hidden and sensitive text
Definition wayland-server-protocol-unstable.hpp:6820
wayland::server::zwp_text_input_v1_content_hint::auto_capitalization
static const wayland::detail::bitfield< 10, 23 > auto_capitalization
switch to uppercase letters at the start of a sentence
Definition wayland-server-protocol-unstable.hpp:6826
wayland::server::zwp_text_input_v3_content_hint
content hint
Definition wayland-server-protocol-unstable.hpp:7384
wayland::server::zwp_text_input_v3_content_hint::lowercase
static const wayland::detail::bitfield< 10, 28 > lowercase
prefer lowercase letters
Definition wayland-server-protocol-unstable.hpp:7398
wayland::server::zwp_text_input_v3_content_hint::latin
static const wayland::detail::bitfield< 10, 28 > latin
just Latin characters should be entered
Definition wayland-server-protocol-unstable.hpp:7408
wayland::server::zwp_text_input_v3_content_hint::spellcheck
static const wayland::detail::bitfield< 10, 28 > spellcheck
suggest word corrections
Definition wayland-server-protocol-unstable.hpp:7394
wayland::server::zwp_text_input_v3_content_hint::titlecase
static const wayland::detail::bitfield< 10, 28 > titlecase
prefer casing for titles and headings (can be language dependent)
Definition wayland-server-protocol-unstable.hpp:7402
wayland::server::zwp_text_input_v3_content_hint::uppercase
static const wayland::detail::bitfield< 10, 28 > uppercase
prefer uppercase letters
Definition wayland-server-protocol-unstable.hpp:7400
wayland::server::zwp_text_input_v3_content_hint::completion
static const wayland::detail::bitfield< 10, 28 > completion
suggest word completions
Definition wayland-server-protocol-unstable.hpp:7392
wayland::server::zwp_text_input_v3_content_hint::auto_capitalization
static const wayland::detail::bitfield< 10, 28 > auto_capitalization
switch to uppercase letters at the start of a sentence
Definition wayland-server-protocol-unstable.hpp:7396
wayland::server::zwp_text_input_v3_content_hint::multiline
static const wayland::detail::bitfield< 10, 28 > multiline
the text input is multiline
Definition wayland-server-protocol-unstable.hpp:7410
wayland::server::zwp_text_input_v3_content_hint::sensitive_data
static const wayland::detail::bitfield< 10, 28 > sensitive_data
typed text should not be stored
Definition wayland-server-protocol-unstable.hpp:7406
wayland::server::zwp_text_input_v3_content_hint::hidden_text
static const wayland::detail::bitfield< 10, 28 > hidden_text
characters should be hidden
Definition wayland-server-protocol-unstable.hpp:7404
wayland::server::zwp_text_input_v3_content_hint::none
static const wayland::detail::bitfield< 10, 28 > none
no special behavior
Definition wayland-server-protocol-unstable.hpp:7390
wayland::server::zxdg_positioner_v6_constraint_adjustment
constraint adjustments
Definition wayland-server-protocol-unstable.hpp:9148
wayland::server::zxdg_toplevel_v6_resize_edge
edge values for resizing
Definition wayland-server-protocol-unstable.hpp:9796
wayland-server.hpp