Add WindowBuilder::with_cursor() (#3319)

This commit is contained in:
daxpedda 2023-12-26 19:50:58 +01:00 committed by GitHub
parent f5c691467b
commit ba654bb61e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 1 deletions

View file

@ -575,6 +575,8 @@ impl UnownedWindow {
leap!(window.set_window_level_inner(window_attrs.window_level)).ignore_error();
}
window.set_cursor(window_attrs.cursor);
// Remove the startup notification if we have one.
if let Some(startup) = pl_attribs.activation_token.as_ref() {
leap!(xconn.remove_activation_token(xwindow, &startup._token));