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
}; };

View file

@ -918,7 +918,7 @@
/* Renamed scratchpads option to auto-hide scratchpads when moving to a different tag. /* Renamed scratchpads option to auto-hide scratchpads when moving to a different tag.
* This behaviour is similar to that of the (multiple) scratchpads patch. */ * This behaviour is similar to that of the (multiple) scratchpads patch. */
#define RENAMED_SCRATCHPADS_AUTO_HIDE_PATCH 0 #define RENAMED_SCRATCHPADS_AUTO_HIDE_PATCH 0
/* Shifts all clients per tag to leftmost unoccupied tags. /* Shifts all clients per tag to leftmost unoccupied tags.
* *