Also warp the pointer when moving a window to a another visible workspace (Thanks Thomas)

This commit is contained in:
Michael Stapelberg 2010-02-12 16:19:58 +01:00
parent 87f8c501da
commit e446747812
1 changed files with 3 additions and 1 deletions

View File

@ -636,8 +636,10 @@ 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);
}
} }
/* /*