does this fix it now

This commit is contained in:
taiyu 2015-08-20 18:49:13 -07:00
parent 2290db9bc3
commit c61105d1e2
3 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ void set_focused_container(swayc_t *c) {
// if that focsued container is fullscreen dont change focus // if that focsued container is fullscreen dont change focus
swayc_t *workspace = swayc_parent_by_type(c, C_WORKSPACE); swayc_t *workspace = swayc_parent_by_type(c, C_WORKSPACE);
swayc_t *focused = get_focused_view(workspace); swayc_t *focused = get_focused_view(workspace);
if (swayc_is_fullscreen(focused)) { if (active_workspace == workspace && swayc_is_fullscreen(focused)) {
return; return;
} }

View file

@ -513,7 +513,6 @@ static void handle_wlc_ready(void) {
config->active = true; config->active = true;
} }
struct wlc_interface interface = { struct wlc_interface interface = {
.output = { .output = {
.created = handle_output_created, .created = handle_output_created,
@ -541,3 +540,4 @@ struct wlc_interface interface = {
.ready = handle_wlc_ready .ready = handle_wlc_ready
} }
}; };

View file

@ -15,7 +15,7 @@ void init_layout(void) {
root_container.type = C_ROOT; root_container.type = C_ROOT;
root_container.layout = L_NONE; root_container.layout = L_NONE;
root_container.children = create_list(); root_container.children = create_list();
root_container.handle = -1; root_container.handle = 0;
} }
// Children of container functions // Children of container functions