make pointer follow the focus when moving to a different screen also for floating windows
This commit is contained in:
parent
b47d0a8932
commit
a604af6340
@ -620,9 +620,11 @@ static void move_floating_window_to_workspace(xcb_connection_t *conn, Client *cl
|
|||||||
|
|
||||||
render_layout(conn);
|
render_layout(conn);
|
||||||
|
|
||||||
if (workspace_is_visible(t_ws))
|
if (workspace_is_visible(t_ws)) {
|
||||||
|
client_warp_pointer_into(conn, client);
|
||||||
set_focus(conn, client, true);
|
set_focus(conn, client, true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Moves the currently selected window to the given workspace
|
* Moves the currently selected window to the given workspace
|
||||||
|
Loading…
Reference in New Issue
Block a user