Bugfix: Fix switching workspaces on multi-monitor setups (Thanks mseed)
Fixes #356
This commit is contained in:
parent
38173749f8
commit
67b37551d8
|
@ -230,8 +230,10 @@ void workspace_show(const char *num) {
|
||||||
/* enable fullscreen for the target workspace. If it happens to be the
|
/* enable fullscreen for the target workspace. If it happens to be the
|
||||||
* same one we are currently on anyways, we can stop here. */
|
* same one we are currently on anyways, we can stop here. */
|
||||||
workspace->fullscreen_mode = CF_OUTPUT;
|
workspace->fullscreen_mode = CF_OUTPUT;
|
||||||
if (workspace == old)
|
if (workspace == con_get_workspace(focused)) {
|
||||||
|
DLOG("Not switching, already there.\n");
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
workspace_reassign_sticky(workspace);
|
workspace_reassign_sticky(workspace);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue