mirror of
https://github.com/swaywm/sway.git
synced 2025-02-25 18:51:19 +00: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
|
||||
swayc_t *workspace = swayc_parent_by_type(c, C_WORKSPACE);
|
||||
swayc_t *focused = get_focused_view(workspace);
|
||||
if (swayc_is_fullscreen(focused)) {
|
||||
if (active_workspace == workspace && swayc_is_fullscreen(focused)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -513,7 +513,6 @@ static void handle_wlc_ready(void) {
|
|||
config->active = true;
|
||||
}
|
||||
|
||||
|
||||
struct wlc_interface interface = {
|
||||
.output = {
|
||||
.created = handle_output_created,
|
||||
|
@ -541,3 +540,4 @@ struct wlc_interface interface = {
|
|||
.ready = handle_wlc_ready
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ void init_layout(void) {
|
|||
root_container.type = C_ROOT;
|
||||
root_container.layout = L_NONE;
|
||||
root_container.children = create_list();
|
||||
root_container.handle = -1;
|
||||
root_container.handle = 0;
|
||||
}
|
||||
|
||||
// Children of container functions
|
||||
|
|
Loading…
Add table
Reference in a new issue