Also warp the pointer when moving a window to a another visible workspace (Thanks Thomas)
This commit is contained in:
parent
87f8c501da
commit
e446747812
|
@ -636,9 +636,11 @@ static void move_current_window_to_workspace(xcb_connection_t *conn, int workspa
|
||||||
|
|
||||||
render_layout(conn);
|
render_layout(conn);
|
||||||
|
|
||||||
if (workspace_is_visible(to_container->workspace))
|
if (workspace_is_visible(to_container->workspace)) {
|
||||||
|
client_warp_pointer_into(conn, current_client);
|
||||||
set_focus(conn, current_client, true);
|
set_focus(conn, current_client, true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Jumps to the given window class / title.
|
* Jumps to the given window class / title.
|
||||||
|
|
Loading…
Reference in New Issue