Add swallowing to scratchpad

This commit is contained in:
Alexis Jhon Gaspar 2023-10-01 23:52:05 +08:00
parent 75fd738a88
commit 95089d5d13
2 changed files with 3 additions and 3 deletions

View file

@ -509,9 +509,9 @@ static const Rule rules[] = {
RULE(.class = "Gimp", .tags = 1 << 4) RULE(.class = "Gimp", .tags = 1 << 4)
RULE(.class = "Firefox", .tags = 1 << 7) RULE(.class = "Firefox", .tags = 1 << 7)
#if RENAMED_SCRATCHPADS_PATCH #if RENAMED_SCRATCHPADS_PATCH
RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1) RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1, .isterminal = 1)
#elif SCRATCHPADS_PATCH #elif SCRATCHPADS_PATCH
RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1) RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1, .isterminal = 1)
#endif // SCRATCHPADS_PATCH #endif // SCRATCHPADS_PATCH
}; };