Add the "created" parameter to workspace_get.
If created is not NULL, *created is set to whether or not the workspace has been just created.
This commit is contained in:
committed by
Michael Stapelberg
parent
b8a716c370
commit
b4e3dfd76b
@ -537,7 +537,7 @@ move:
|
||||
|
||||
printf("should move window to workspace %s\n", $<string>5);
|
||||
/* get the workspace */
|
||||
Con *ws = workspace_get($<string>5);
|
||||
Con *ws = workspace_get($<string>5, NULL);
|
||||
free($<string>5);
|
||||
|
||||
/* check if the match is empty, not if the result is empty */
|
||||
|
Reference in New Issue
Block a user