diff --git a/src/x11/window.rs b/src/x11/window.rs index 04a86b6..f5044dd 100644 --- a/src/x11/window.rs +++ b/src/x11/window.rs @@ -17,7 +17,7 @@ pub struct Window { } impl Window { - pub fn build(options: WindowOpenOptions, message_tx: mpsc::Sender) -> Self { + pub fn open(options: WindowOpenOptions, message_tx: mpsc::Sender) -> Self { // Convert the parent to a X11 window ID if we're given one let parent = match options.parent { Parent::None => None,