diff --git a/src/term/mod.rs b/src/term/mod.rs index f3bd74315..5cba7e1b3 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -464,11 +464,6 @@ impl Terminal { } } - /// Feed the terminal parser a single byte of input - pub fn advance(&mut self, byte: u8) { - self.parser.advance(&mut self.state, byte); - } - /// Feed the terminal parser a slice of bytes of input pub fn advance_bytes>(&mut self, bytes: B) { let bytes = bytes.as_ref(); diff --git a/src/xgfx.rs b/src/xgfx.rs index d4873be92..593e04cb2 100644 --- a/src/xgfx.rs +++ b/src/xgfx.rs @@ -331,8 +331,6 @@ impl Color { ) } - &Operator::Dest => dest, - &Operator::Source => *self, &Operator::Multiply => { @@ -370,8 +368,6 @@ pub enum Operator { /// Apply the alpha channel of src and combine src with dest, /// according to the classic OVER composite operator Over, - /// Ignore src; leave dest untouched - Dest, /// Ignore dest; take src as the result of the operation Source, /// Multiply src x dest. The result is at least as dark as diff --git a/src/xwin.rs b/src/xwin.rs index a83cdf240..d3efa8b2f 100644 --- a/src/xwin.rs +++ b/src/xwin.rs @@ -7,7 +7,7 @@ use std::process::Child; use std::slice; use term::{self, KeyCode, KeyModifiers}; use xcb; -use xgfx::{self, Connection, Drawable}; +use xgfx::{self, Connection}; use xkeysyms; pub struct TerminalWindow<'a> { @@ -69,10 +69,6 @@ impl<'a> TerminalWindow<'a> { }) } - pub fn window_id(&self) -> u32 { - self.window.as_drawable() - } - pub fn show(&self) { self.window.show(); }