mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
Add lastActiveWorkspaceID
and changeToLastWorkspace
definition to header file
This commit is contained in:
parent
2ae7c09e17
commit
29394650dd
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ public:
|
||||||
|
|
||||||
std::deque<CWorkspace> workspaces;
|
std::deque<CWorkspace> workspaces;
|
||||||
std::deque<int> activeWorkspaces;
|
std::deque<int> activeWorkspaces;
|
||||||
|
int lastActiveWorkspaceID = 1;
|
||||||
|
|
||||||
// Pipes
|
// Pipes
|
||||||
SIPCPipe m_sIPCBarPipeIn = {ISDEBUG ? "/tmp/hypr/hyprbarind" : "/tmp/hypr/hyprbarin", 0};
|
SIPCPipe m_sIPCBarPipeIn = {ISDEBUG ? "/tmp/hypr/hyprbarind" : "/tmp/hypr/hyprbarin", 0};
|
||||||
|
@ -90,6 +91,7 @@ public:
|
||||||
void recalcAllDocks();
|
void recalcAllDocks();
|
||||||
|
|
||||||
void changeWorkspaceByID(int);
|
void changeWorkspaceByID(int);
|
||||||
|
void changeToLastWorkspace();
|
||||||
void setAllWorkspaceWindowsDirtyByID(int);
|
void setAllWorkspaceWindowsDirtyByID(int);
|
||||||
int getHighestWorkspaceID();
|
int getHighestWorkspaceID();
|
||||||
CWorkspace* getWorkspaceByID(int);
|
CWorkspace* getWorkspaceByID(int);
|
||||||
|
|
Loading…
Reference in a new issue