x11: don't need to ref gl context in window any more
This is now managed by the client application
This commit is contained in:
1 parent
5f59bf25be
commit
35351a97b4
1 file changed
-3
@@ -61,7 +61,6 @@ pub(crate) struct XWindowInner {
|
||||
cursors: CursorInfo,
|
||||
copy_and_paste: CopyAndPaste,
|
||||
config: ConfigHandle,
|
||||
gl_state: Option<Rc<glium::backend::Context>>,
|
||||
resize_promises: Vec<Promise<Dimensions>>,
|
||||
}
|
||||
|
||||
@@ -114,7 +113,6 @@ impl XWindowInner {
|
||||
)?)
|
||||
})?;
|
||||
|
||||
self.gl_state.replace(gl_state.clone());
|
||||
Ok(gl_state)
|
||||
}
|
||||
|
||||
@@ -736,7 +734,6 @@ impl XWindow {
|
||||
dpi: conn.default_dpi(),
|
||||
copy_and_paste: CopyAndPaste::default(),
|
||||
cursors: CursorInfo::new(&conn),
|
||||
gl_state: None,
|
||||
config: config.clone(),
|
||||
resize_promises: vec![],
|
||||
}))
|
||||
|
||||
Reference in new issue
Block a user