mirror of
https://github.com/swaywm/sway.git
synced 2025-03-04 06:34:44 +01:00
does this fix it now
This commit is contained in:
parent
2290db9bc3
commit
c61105d1e2
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue