20#ifndef __WLMTK_WORKSPACE_H__
21#define __WLMTK_WORKSPACE_H__
26#include <libbase/libbase.h>
39struct wlr_output_layout;
52 WLMTK_WORKSPACE_LAYER_BACKGROUND = 0,
53 WLMTK_WORKSPACE_LAYER_BOTTOM = 1,
54 WLMTK_WORKSPACE_LAYER_TOP = 3,
55 WLMTK_WORKSPACE_LAYER_OVERLAY = 4,
69 struct wlr_output_layout *wlr_output_layout_ptr,
99 const char **name_ptr_ptr,
113 struct wlr_output *wlr_output_ptr);
126 struct wlr_output *wlr_output_ptr);
312 bs_dllist_node_t *dlnode_ptr);
Definition workspace.c:48
void wlmtk_workspace_raise_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:804
const bs_test_case_t wlmtk_workspace_test_cases[]
Definition workspace.c:1165
struct wlr_box wlmtk_workspace_get_maximize_extents(wlmtk_workspace_t *workspace_ptr, struct wlr_output *wlr_output_ptr)
Definition workspace.c:417
void wlmtk_workspace_enable(wlmtk_workspace_t *workspace_ptr, bool enabled)
Definition workspace.c:513
void wlmtk_workspace_confine_within(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:451
wlmtk_workspace_layer_t
Definition workspace.h:51
wlmtk_window_t * wlmtk_workspace_get_activated_window(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:757
void wlmtk_workspace_begin_window_move(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:709
void wlmtk_workspace_set_window_position(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr, int x, int y)
Definition workspace.c:611
wlmtk_layer_t * wlmtk_workspace_get_layer(wlmtk_workspace_t *workspace_ptr, wlmtk_workspace_layer_t layer)
Definition workspace.c:623
wlmtk_root_t * wlmtk_workspace_get_root(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:824
void wlmtk_workspace_set_details(wlmtk_workspace_t *workspace_ptr, int index)
Definition workspace.c:399
struct wlr_output_layout * wlmtk_workspace_get_wlr_output_layout(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:479
void wlmtk_workspace_activate_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:732
bs_dllist_t * wlmtk_workspace_get_windows_dllist(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:649
void wlmtk_workspace_begin_window_resize(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr, uint32_t edges)
Definition workspace.c:719
void wlmtk_workspace_map_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:534
wlmtk_workspace_t * wlmtk_workspace_from_dlnode(bs_dllist_node_t *dlnode_ptr)
Definition workspace.c:845
bs_dllist_node_t * wlmtk_dlnode_from_workspace(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:838
wlmtk_workspace_t * wlmtk_workspace_create(struct wlr_output_layout *wlr_output_layout_ptr, const char *name_ptr, const wlmtk_tile_style_t *tile_style_ptr)
Definition workspace.c:203
void wlmtk_workspace_get_details(wlmtk_workspace_t *workspace_ptr, const char **name_ptr_ptr, int *index_ptr)
Definition workspace.c:407
wlmtk_element_t * wlmtk_workspace_element(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:818
void wlmtk_workspace_unmap_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:557
bool wlmtk_workspace_enabled(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:528
void wlmtk_workspace_set_root(wlmtk_workspace_t *workspace_ptr, wlmtk_root_t *root_ptr)
Definition workspace.c:830
void wlmtk_workspace_destroy(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:333
void wlmtk_workspace_activate_previous_window(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:764
void wlmtk_workspace_window_to_fullscreen(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr, bool fullscreen)
Definition workspace.c:656
void wlmtk_workspace_activate_next_window(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:784
struct wlr_box wlmtk_workspace_get_fullscreen_extents(wlmtk_workspace_t *workspace_ptr, struct wlr_output *wlr_output_ptr)
Definition workspace.c:486