On X11, store window target on EventProcessor
Remove the redundant `Rc` to access the window target.
This commit is contained in:
parent
d1902aa15a
commit
dbe0f852da
5 changed files with 584 additions and 475 deletions
|
|
@ -123,7 +123,7 @@ impl SharedState {
|
|||
unsafe impl Send for UnownedWindow {}
|
||||
unsafe impl Sync for UnownedWindow {}
|
||||
|
||||
pub(crate) struct UnownedWindow {
|
||||
pub struct UnownedWindow {
|
||||
pub(crate) xconn: Arc<XConnection>, // never changes
|
||||
xwindow: xproto::Window, // never changes
|
||||
#[allow(dead_code)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue