21#ifndef __WLMTK_WORKSPACE_H__
22#define __WLMTK_WORKSPACE_H__
27#include <libbase/libbase.h>
41struct wlr_output_layout;
54 WLMTK_WORKSPACE_LAYER_BACKGROUND = 0,
55 WLMTK_WORKSPACE_LAYER_BOTTOM = 1,
56 WLMTK_WORKSPACE_LAYER_TOP = 3,
57 WLMTK_WORKSPACE_LAYER_OVERLAY = 4,
71 struct wlr_output_layout *wlr_output_layout_ptr,
101 const char **name_ptr_ptr,
115 struct wlr_output *wlr_output_ptr);
128 struct wlr_output *wlr_output_ptr);
314 bs_dllist_node_t *dlnode_ptr);
Definition workspace.c:50
void wlmtk_workspace_raise_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:822
const bs_test_set_t wlmtk_workspace_test_set
Definition workspace.c:1306
struct wlr_box wlmtk_workspace_get_maximize_extents(wlmtk_workspace_t *workspace_ptr, struct wlr_output *wlr_output_ptr)
Definition workspace.c:431
void wlmtk_workspace_enable(wlmtk_workspace_t *workspace_ptr, bool enabled)
Definition workspace.c:530
void wlmtk_workspace_confine_within(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:465
wlmtk_workspace_layer_t
Definition workspace.h:53
wlmtk_window_t * wlmtk_workspace_get_activated_window(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:775
void wlmtk_workspace_begin_window_move(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:727
void wlmtk_workspace_set_window_position(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr, int x, int y)
Definition workspace.c:629
wlmtk_layer_t * wlmtk_workspace_get_layer(wlmtk_workspace_t *workspace_ptr, wlmtk_workspace_layer_t layer)
Definition workspace.c:641
wlmtk_desktop_t * wlmtk_workspace_get_desktop(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:842
void wlmtk_workspace_set_details(wlmtk_workspace_t *workspace_ptr, int index)
Definition workspace.c:413
struct wlr_output_layout * wlmtk_workspace_get_wlr_output_layout(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:496
void wlmtk_workspace_activate_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:750
bs_dllist_t * wlmtk_workspace_get_windows_dllist(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:667
wlmtk_workspace_t * wlmtk_workspace_create(struct wlr_output_layout *wlr_output_layout_ptr, const char *name_ptr, const struct wlmtk_tile_style *tile_style_ptr)
Definition workspace.c:217
void wlmtk_workspace_begin_window_resize(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr, uint32_t edges)
Definition workspace.c:737
void wlmtk_workspace_map_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:551
wlmtk_workspace_t * wlmtk_workspace_from_dlnode(bs_dllist_node_t *dlnode_ptr)
Definition workspace.c:863
bs_dllist_node_t * wlmtk_dlnode_from_workspace(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:856
void wlmtk_workspace_get_details(wlmtk_workspace_t *workspace_ptr, const char **name_ptr_ptr, int *index_ptr)
Definition workspace.c:421
wlmtk_element_t * wlmtk_workspace_element(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:836
void wlmtk_workspace_unmap_window(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr)
Definition workspace.c:575
bool wlmtk_workspace_enabled(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:545
void wlmtk_workspace_destroy(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:347
void wlmtk_workspace_activate_previous_window(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:782
void wlmtk_workspace_window_to_fullscreen(wlmtk_workspace_t *workspace_ptr, wlmtk_window_t *window_ptr, bool fullscreen)
Definition workspace.c:674
void wlmtk_workspace_set_desktop(wlmtk_workspace_t *workspace_ptr, wlmtk_desktop_t *desktop_ptr)
Definition workspace.c:848
void wlmtk_workspace_activate_next_window(wlmtk_workspace_t *workspace_ptr)
Definition workspace.c:802
struct wlr_box wlmtk_workspace_get_fullscreen_extents(wlmtk_workspace_t *workspace_ptr, struct wlr_output *wlr_output_ptr)
Definition workspace.c:503