Add `lastActiveWorkspaceID` and `changeToLastWorkspace` definition to header file

This commit is contained in:
imaphatduc 2022-01-07 19:12:57 +07:00
parent 2ae7c09e17
commit 29394650dd
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public:
std::deque<CWorkspace> workspaces;
std::deque<int> activeWorkspaces;
int lastActiveWorkspaceID = 1;
// Pipes
SIPCPipe m_sIPCBarPipeIn = {ISDEBUG ? "/tmp/hypr/hyprbarind" : "/tmp/hypr/hyprbarin", 0};
@ -90,6 +91,7 @@ public:
void recalcAllDocks();
void changeWorkspaceByID(int);
void changeToLastWorkspace();
void setAllWorkspaceWindowsDirtyByID(int);
int getHighestWorkspaceID();
CWorkspace* getWorkspaceByID(int);