autocommit 2022-02-01 01:20:49 CET
This commit is contained in:
parent
f2117256b9
commit
7654e70f64
39 changed files with 830 additions and 761 deletions
|
|
@ -19,8 +19,8 @@ use rand::Rng;
|
|||
use std::cell::{Cell, RefCell};
|
||||
use std::collections::VecDeque;
|
||||
use std::error::Error;
|
||||
use std::{ptr, slice};
|
||||
use std::rc::Rc;
|
||||
use std::{ptr, slice};
|
||||
use thiserror::Error;
|
||||
use uapi::{c, OwnedFd};
|
||||
use xcb_dl::{ffi, Xcb, XcbDri3, XcbPresent, XcbRender, XcbXinput, XcbXkb};
|
||||
|
|
@ -256,8 +256,7 @@ impl XorgBackend {
|
|||
pixels: vec![0],
|
||||
..Default::default()
|
||||
};
|
||||
let cursor =
|
||||
ctx.create_cursor(&con.xcb, &con.render, slice::from_ref(&image));
|
||||
let cursor = ctx.create_cursor(&con.xcb, &con.render, slice::from_ref(&image));
|
||||
match cursor {
|
||||
Ok(c) => c,
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue