mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-17 06:59:52 -05:00
format-code
This commit is contained in:
parent
9dd3bb00e4
commit
62e0711a65
2 changed files with 154 additions and 128 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// bash on: https://gitlab.freedesktop.org/tokyo4j/wlroots/-/tree/ext-workspace
|
||||
// TODO: remove this file
|
||||
// refer: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5115
|
||||
// refer: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5115
|
||||
|
||||
/*
|
||||
* This an unstable interface of wlroots. No guarantees are made regarding the
|
||||
|
|
@ -30,7 +30,7 @@ enum wlr_ext_workspace_handle_v1_cap {
|
|||
|
||||
struct wlr_ext_workspace_manager_v1 {
|
||||
struct wl_global *global;
|
||||
struct wl_list groups; // wlr_ext_workspace_group_handle_v1.link
|
||||
struct wl_list groups; // wlr_ext_workspace_group_handle_v1.link
|
||||
struct wl_list workspaces; // wlr_ext_workspace_handle_v1.link
|
||||
|
||||
struct {
|
||||
|
|
@ -63,7 +63,7 @@ struct wlr_ext_workspace_handle_v1 {
|
|||
char *id;
|
||||
char *name;
|
||||
struct wl_array coordinates;
|
||||
uint32_t caps; // wlr_ext_workspace_handle_v1_cap
|
||||
uint32_t caps; // wlr_ext_workspace_handle_v1_cap
|
||||
uint32_t state; // ext_workspace_handle_v1_state
|
||||
|
||||
struct {
|
||||
|
|
@ -79,10 +79,12 @@ struct wlr_ext_workspace_handle_v1 {
|
|||
struct wl_list clients;
|
||||
};
|
||||
|
||||
struct wlr_ext_workspace_manager_v1 *wlr_ext_workspace_manager_v1_create(
|
||||
struct wl_display *display, uint32_t version);
|
||||
struct wlr_ext_workspace_manager_v1 *
|
||||
wlr_ext_workspace_manager_v1_create(struct wl_display *display,
|
||||
uint32_t version);
|
||||
|
||||
struct wlr_ext_workspace_group_handle_v1 *wlr_ext_workspace_group_handle_v1_create(
|
||||
struct wlr_ext_workspace_group_handle_v1 *
|
||||
wlr_ext_workspace_group_handle_v1_create(
|
||||
struct wlr_ext_workspace_manager_v1 *manager, uint32_t caps);
|
||||
void wlr_ext_workspace_group_handle_v1_destroy(
|
||||
struct wlr_ext_workspace_group_handle_v1 *group);
|
||||
|
|
@ -92,9 +94,11 @@ void wlr_ext_workspace_group_handle_v1_output_enter(
|
|||
void wlr_ext_workspace_group_handle_v1_output_leave(
|
||||
struct wlr_ext_workspace_group_handle_v1 *group, struct wlr_output *output);
|
||||
|
||||
struct wlr_ext_workspace_handle_v1 *wlr_ext_workspace_handle_v1_create(
|
||||
struct wlr_ext_workspace_manager_v1 *manager, const char *id, uint32_t caps);
|
||||
void wlr_ext_workspace_handle_v1_destroy(struct wlr_ext_workspace_handle_v1 *workspace);
|
||||
struct wlr_ext_workspace_handle_v1 *
|
||||
wlr_ext_workspace_handle_v1_create(struct wlr_ext_workspace_manager_v1 *manager,
|
||||
const char *id, uint32_t caps);
|
||||
void wlr_ext_workspace_handle_v1_destroy(
|
||||
struct wlr_ext_workspace_handle_v1 *workspace);
|
||||
|
||||
void wlr_ext_workspace_handle_v1_set_group(
|
||||
struct wlr_ext_workspace_handle_v1 *workspace,
|
||||
|
|
@ -102,7 +106,8 @@ void wlr_ext_workspace_handle_v1_set_group(
|
|||
void wlr_ext_workspace_handle_v1_set_name(
|
||||
struct wlr_ext_workspace_handle_v1 *workspace, const char *name);
|
||||
void wlr_ext_workspace_handle_v1_set_coordinates(
|
||||
struct wlr_ext_workspace_handle_v1 *workspace, struct wl_array *coordinates);
|
||||
struct wlr_ext_workspace_handle_v1 *workspace,
|
||||
struct wl_array *coordinates);
|
||||
void wlr_ext_workspace_handle_v1_set_active(
|
||||
struct wlr_ext_workspace_handle_v1 *workspace, bool enabled);
|
||||
void wlr_ext_workspace_handle_v1_set_urgent(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue