24 lines
573 B
C
24 lines
573 B
C
#ifndef PEACHWM_EXT_WORKSPACE_H
|
|
#define PEACHWM_EXT_WORKSPACE_H
|
|
|
|
#include "monitor.h"
|
|
|
|
#define EXT_WORKSPACE_CAPS \
|
|
(EXT_WORKSPACE_HANDLE_V1_WORKSPACE_CAPABILITIES_ACTIVATE | \
|
|
EXT_WORKSPACE_HANDLE_V1_WORKSPACE_CAPABILITIES_DEACTIVATE)
|
|
|
|
struct ext_workspace {
|
|
struct wl_list link;
|
|
uint32_t tag;
|
|
Monitor *m;
|
|
struct wlr_ext_workspace_handle_v1 *handle;
|
|
};
|
|
|
|
/* Functions */
|
|
void ext_workspace_createmon(Monitor *m);
|
|
void ext_workspace_cleanupmon(Monitor *m);
|
|
void ext_workspace_printstatus(Monitor *m);
|
|
void workspaces_init(void);
|
|
|
|
#endif /* PEACHWM_EXT_WORKSPACE_H */
|