mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
c1479701de
If e.g. a window has a popup open then that will lock the current focus, making a workspace switch denied. So don't move the mouse pointer in such cases.
19 lines
425 B
C
19 lines
425 B
C
#ifndef _SWAY_WORKSPACE_H
|
|
#define _SWAY_WORKSPACE_H
|
|
|
|
#include <wlc/wlc.h>
|
|
#include "list.h"
|
|
#include "layout.h"
|
|
|
|
extern char *prev_workspace_name;
|
|
|
|
char *workspace_next_name(void);
|
|
swayc_t *workspace_create(const char*);
|
|
swayc_t *workspace_by_name(const char*);
|
|
bool workspace_switch(swayc_t*);
|
|
swayc_t *workspace_output_next();
|
|
swayc_t *workspace_next();
|
|
swayc_t *workspace_output_prev();
|
|
swayc_t *workspace_prev();
|
|
|
|
#endif
|