parent
09a07b9169
commit
8e3cef33d9
|
@ -762,6 +762,11 @@ move:
|
||||||
{
|
{
|
||||||
owindow *current;
|
owindow *current;
|
||||||
|
|
||||||
|
/* Error out early to not create a non-existing workspace (in
|
||||||
|
* workspace_get()) if we are not actually able to move anything. */
|
||||||
|
if (match_is_empty(¤t_match) && focused->type == CT_WORKSPACE)
|
||||||
|
break;
|
||||||
|
|
||||||
printf("should move window to workspace %s\n", $3);
|
printf("should move window to workspace %s\n", $3);
|
||||||
/* get the workspace */
|
/* get the workspace */
|
||||||
Con *ws = workspace_get($3, NULL);
|
Con *ws = workspace_get($3, NULL);
|
||||||
|
|
Loading…
Reference in New Issue