Skip to content

Commit af25fb8

Browse files
committed
Post-rebase fixes
1 parent b5f5af0 commit af25fb8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/x11/visual_info.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ impl WindowVisualConfig {
6666
pub fn create_color_map(
6767
connection: &XcbConnection, visual_id: Visualid,
6868
) -> Result<Colormap, Box<dyn Error>> {
69-
let colormap = connection.conn2.generate_id()?;
70-
connection.conn2.create_colormap(
69+
let colormap = connection.conn.generate_id()?;
70+
connection.conn.create_colormap(
7171
ColormapAlloc::NONE,
7272
colormap,
7373
connection.screen().root,

src/x11/xcb_connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ impl XcbConnection {
116116
}
117117

118118
pub fn screen(&self) -> &Screen {
119-
&self.conn2.setup().roots[self.screen]
119+
&self.conn.setup().roots[self.screen]
120120
}
121121
}

0 commit comments

Comments
 (0)