mirror of
https://github.com/hyprwm/Hypr.git
synced 2026-04-30 20:30:39 +02:00
a
This commit is contained in:
parent
f7f9d7be70
commit
ae0eb7d0a2
3 changed files with 1 additions and 5 deletions
|
|
@ -22,7 +22,6 @@ namespace KeybindManager {
|
|||
void killactive(std::string args);
|
||||
void movewindow(std::string args);
|
||||
void movefocus(std::string args);
|
||||
void changetorelativeworkspace(std::string args);
|
||||
void changeworkspace(std::string args);
|
||||
void changetolastworkspace(std::string args);
|
||||
void toggleActiveWindowFullscreen(std::string args);
|
||||
|
|
|
|||
|
|
@ -1554,8 +1554,7 @@ void CWindowManager::warpCursorTo(Vector2D to) {
|
|||
}
|
||||
|
||||
void CWindowManager::moveActiveWindowToRelativeWorkspace(int relativenum) {
|
||||
if (activeWorkspaceID + relativenum < lowerWorkspaceLimit) return;
|
||||
if (activeWorkspaceID + relativenum > upperWorkspaceLimit) return;
|
||||
if (activeWorkspaceID + relativenum < 1) return;
|
||||
moveActiveWindowToWorkspace(activeWorkspaceID + relativenum);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -54,8 +54,6 @@ public:
|
|||
std::deque<int> activeWorkspaces;
|
||||
int lastActiveWorkspaceID = 1;
|
||||
int activeWorkspaceID = 1;
|
||||
int upperWorkspaceLimit = 10;
|
||||
int lowerWorkspaceLimit = 1;
|
||||
|
||||
// Not really pipes, but files. Oh well. Used for IPC.
|
||||
SIPCPipe m_sIPCBarPipeIn = {ISDEBUG ? "/tmp/hypr/hyprbarind" : "/tmp/hypr/hyprbarin", 0};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue