something
This commit is contained in:
@@ -76,6 +76,11 @@ static void process_cursor_move(absn_server *server)
|
|||||||
if (!toplevel->floating) {
|
if (!toplevel->floating) {
|
||||||
toplevel_set_floating(toplevel, true);
|
toplevel_set_floating(toplevel, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (toplevel->output != server->focused_output) {
|
||||||
|
toplevel->output = server->focused_output;
|
||||||
|
toplevel->workspace = toplevel->output->workspace;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void apply_resize(absn_toplevel *toplevel, struct wlr_box *new_geom)
|
static void apply_resize(absn_toplevel *toplevel, struct wlr_box *new_geom)
|
||||||
|
|||||||
+1
-1
@@ -202,7 +202,7 @@ void switch_workspace(absn_server *server, const absn_arg *arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (toplevels_count == 0) {
|
if (toplevels_count == 0 && server->focused_output == server->workspaces[i].output) {
|
||||||
server->focused_output->workspace->output = NULL;
|
server->focused_output->workspace->output = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user