We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5f5af0 commit af25fb8Copy full SHA for af25fb8
src/x11/visual_info.rs
@@ -66,8 +66,8 @@ impl WindowVisualConfig {
66
pub fn create_color_map(
67
connection: &XcbConnection, visual_id: Visualid,
68
) -> Result<Colormap, Box<dyn Error>> {
69
- let colormap = connection.conn2.generate_id()?;
70
- connection.conn2.create_colormap(
+ let colormap = connection.conn.generate_id()?;
+ connection.conn.create_colormap(
71
ColormapAlloc::NONE,
72
colormap,
73
connection.screen().root,
src/x11/xcb_connection.rs
@@ -116,6 +116,6 @@ impl XcbConnection {
116
}
117
118
pub fn screen(&self) -> &Screen {
119
- &self.conn2.setup().roots[self.screen]
+ &self.conn.setup().roots[self.screen]
120
121
0 commit comments