summaryrefslogtreecommitdiffstats
path: root/sway/workspace.c
diff options
context:
space:
mode:
authorLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-15 14:02:03 -0500
committerLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-15 14:02:03 -0500
commit9b0196e7ede3e91b8a4829f1f66990f4c588014b (patch)
treead37457d7ffecd9b3a9101732c39d79e135fd0c8 /sway/workspace.c
parentFixed workspace switching in multimonitor layouts (diff)
downloadsway-9b0196e7ede3e91b8a4829f1f66990f4c588014b.tar.gz
sway-9b0196e7ede3e91b8a4829f1f66990f4c588014b.tar.zst
sway-9b0196e7ede3e91b8a4829f1f66990f4c588014b.zip
Style fixes
Diffstat (limited to 'sway/workspace.c')
-rw-r--r--sway/workspace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/workspace.c b/sway/workspace.c
index 1f7aeb64..9748c23f 100644
--- a/sway/workspace.c
+++ b/sway/workspace.c
@@ -106,14 +106,11 @@ void workspace_switch(swayc_t *workspace) {
106 106
107 // set all c_views in the old workspace to the invisible mask if the workspace 107 // set all c_views in the old workspace to the invisible mask if the workspace
108 // is in the same output & c_views in the new workspace to the visible mask 108 // is in the same output & c_views in the new workspace to the visible mask
109
110 container_map(c_workspace, set_mask, &mask); 109 container_map(c_workspace, set_mask, &mask);
111 mask = 2; 110 mask = 2;
112 container_map(workspace, set_mask, &mask); 111 container_map(workspace, set_mask, &mask);
113 wlc_output_set_mask(wlc_get_focused_output(), 2); 112 wlc_output_set_mask(wlc_get_focused_output(), 2);
114 113
115
116 //wlc_output_set_mask(wlc_get_focused_output(), 2);
117 unfocus_all(&root_container); 114 unfocus_all(&root_container);
118 focus_view(workspace); 115 focus_view(workspace);
119 116