diff options
Diffstat (limited to 'src/safe_x11/window.rs')
-rw-r--r-- | src/safe_x11/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/safe_x11/window.rs b/src/safe_x11/window.rs index 624fea4..d2fc9ea 100644 --- a/src/safe_x11/window.rs +++ b/src/safe_x11/window.rs @@ -50,7 +50,7 @@ impl XWindow { unsafe { xlib::XSetWindowBorderWidth(self.display, self.inner, size) }; } - pub fn set_boder_color<T: Into<Vec<u8>>>(&self, color: T) { + pub fn set_border_color<T: Into<Vec<u8>>>(&self, color: T) { let c = get_color(self.display, color); unsafe { XSetWindowBorder(self.display, self.inner, c); } } |