sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 25a3aa6ed675c70a7cb83aca0ec5eccae23e42fa
parent 2ac3535afebe4f31aad96b3f8d7a932af5ad56f6
Author: Taiyu <taiyu.len@gmail.com>
Date:   Mon, 10 Aug 2015 20:13:24 -0700

small change

Diffstat:
Msway/workspace.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sway/workspace.c b/sway/workspace.c @@ -62,11 +62,8 @@ swayc_t *workspace_find_by_name(const char* name) { } void workspace_switch(swayc_t *workspace) { - if (active_workspace) { + if (workspace != active_workspace && active_workspace) { sway_log(L_DEBUG, "workspace: changing from '%s' to '%s'", active_workspace->name, workspace->name); - if (active_workspace == workspace) { - return; - } uint32_t mask = 1; // set all c_views in the old workspace to the invisible mask container_map(active_workspace, set_mask, &mask);