mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 10:43:40 +01:00
Tidy grouping of code
This commit is contained in:
parent
a2dd898eba
commit
ebe524ca64
1 changed files with 0 additions and 4 deletions
|
@ -748,7 +748,6 @@ void Hy3Layout::makeOppositeGroupOnWorkspace(int workspace, GroupEphemeralityOpt
|
|||
|
||||
void Hy3Layout::changeGroupOnWorkspace(int workspace, Hy3GroupLayout layout) {
|
||||
auto* node = this->getWorkspaceFocusedNode(workspace);
|
||||
|
||||
if (node == nullptr) return;
|
||||
|
||||
this->changeGroupOn(*node, layout);
|
||||
|
@ -756,7 +755,6 @@ void Hy3Layout::changeGroupOnWorkspace(int workspace, Hy3GroupLayout layout) {
|
|||
|
||||
void Hy3Layout::untabGroupOnWorkspace(int workspace) {
|
||||
auto* node = this->getWorkspaceFocusedNode(workspace);
|
||||
|
||||
if (node == nullptr) return;
|
||||
|
||||
this->untabGroupOn(*node);
|
||||
|
@ -764,7 +762,6 @@ void Hy3Layout::untabGroupOnWorkspace(int workspace) {
|
|||
|
||||
void Hy3Layout::changeGroupToOppositeOnWorkspace(int workspace) {
|
||||
auto* node = this->getWorkspaceFocusedNode(workspace);
|
||||
|
||||
if (node == nullptr) return;
|
||||
|
||||
this->changeGroupToOppositeOn(*node);
|
||||
|
@ -772,7 +769,6 @@ void Hy3Layout::changeGroupToOppositeOnWorkspace(int workspace) {
|
|||
|
||||
void Hy3Layout::changeGroupEphemeralityOnWorkspace(int workspace, bool ephemeral) {
|
||||
auto* node = this->getWorkspaceFocusedNode(workspace);
|
||||
|
||||
if (node == nullptr) return;
|
||||
|
||||
this->changeGroupEphemeralityOn(*node, ephemeral);
|
||||
|
|
Loading…
Add table
Reference in a new issue