Implement the special workspace ~ for assignments, which will set clients floating automatically

This commit is contained in:
Michael Stapelberg
2009-06-19 20:20:00 +02:00
parent bcd479ca92
commit 325d1b301f
4 changed files with 18 additions and 3 deletions

View File

@ -223,6 +223,9 @@ struct Autostart {
*/
struct Assignment {
char *windowclass_title;
/* floating is true if this was an assignment to the special workspace "~".
* Matching clients will be put into floating mode automatically. */
bool floating;
int workspace;
TAILQ_ENTRY(Assignment) assignments;
};