From a5829cee88f33a8ae8356aa22972f3888a964afe Mon Sep 17 00:00:00 2001 From: Billy Messenger Date: Thu, 3 Sep 2020 10:22:25 -0500 Subject: [PATCH] rename build() to open() --- src/x11/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,