mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +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.
20 lines
425 B
C
20 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
|