diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-12 23:04:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-12 23:04:42 +0100 |
| commit | 814337fdd2e0894c2451b258e605e9ab0b603b48 (patch) | |
| tree | 02715e97c480185fc3a71b8c22f9cb0480c78aea /hyprtester/src/tests/main/window.cpp | |
| parent | d67c4e2b7f1e381b24becbb45b8e8471fcdda163 (diff) | |
keybinds: fix wrong space assignment in pin (#14061)
Diffstat (limited to 'hyprtester/src/tests/main/window.cpp')
| -rw-r--r-- | hyprtester/src/tests/main/window.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/hyprtester/src/tests/main/window.cpp b/hyprtester/src/tests/main/window.cpp index 5c0fe2fe..32673d28 100644 --- a/hyprtester/src/tests/main/window.cpp +++ b/hyprtester/src/tests/main/window.cpp @@ -679,6 +679,24 @@ static bool testContentRules() { return true; } +static bool test14038() { + NLog::log("{}Testing #14038 crash", Colors::YELLOW); + + if (!spawnKitty("kitty_14038")) + return false; + + OK(getFromSocket("/dispatch movetoworkspacesilent special:a,class:kitty_14038")); + OK(getFromSocket("/dispatch togglefloating class:kitty_14038")); + OK(getFromSocket("/dispatch pin class:kitty_14038")); + OK(getFromSocket("/dispatch togglefloating class:kitty_14038")); + + // this should not crash hyprland. If we are alive, we good. + + Tests::killAllWindows(); + EXPECT(Tests::windowCount(), 0); + return true; +} + static bool test() { NLog::log("{}Testing windows", Colors::GREEN); @@ -1144,6 +1162,7 @@ static bool test() { testPinnedWorkspacesValid(); testWindowRuleWorkspaceEmpty(); testContentRules(); + test14038(); NLog::log("{}Reloading config", Colors::YELLOW); OK(getFromSocket("/reload")); |
