diff options
-rw-r--r-- | LICENSE | 22 | ||||
-rw-r--r-- | src/command.rs | 2 | ||||
-rw-r--r-- | src/dotwm.rs | 2 | ||||
-rw-r--r-- | src/event.rs | 2 | ||||
-rw-r--r-- | src/main.rs | 2 | ||||
-rw-r--r-- | src/safe_x11/mod.rs | 2 | ||||
-rw-r--r-- | src/safe_x11/window.rs | 2 |
7 files changed, 34 insertions, 0 deletions
@@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Matias Linares <park@team-deprecated.org> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/src/command.rs b/src/command.rs index 09259af..b728776 100644 --- a/src/command.rs +++ b/src/command.rs @@ -1,3 +1,5 @@ +// See LICENSE file for copyright and license details. + //! Command execution module. //! use std::ffi::OsStr; diff --git a/src/dotwm.rs b/src/dotwm.rs index d528899..e531f0a 100644 --- a/src/dotwm.rs +++ b/src/dotwm.rs @@ -1,3 +1,5 @@ +// See LICENSE file for copyright and license details. + use x11::xlib; use x11::xlib::{ Display, diff --git a/src/event.rs b/src/event.rs index 366ca28..6c4c375 100644 --- a/src/event.rs +++ b/src/event.rs @@ -1,3 +1,5 @@ +// See LICENSE file for copyright and license details. + use x11::xlib::{ XEvent, XKeyEvent, diff --git a/src/main.rs b/src/main.rs index 4a0c545..f00523d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +// See LICENSE file for copyright and license details. + extern crate libc; extern crate x11; diff --git a/src/safe_x11/mod.rs b/src/safe_x11/mod.rs index bdfd7cf..e587021 100644 --- a/src/safe_x11/mod.rs +++ b/src/safe_x11/mod.rs @@ -1,3 +1,5 @@ +// See LICENSE file for copyright and license details. + //! Safe wrapper around the `x11-rs` crate. This should be as much safe as possible. #![allow(dead_code)] diff --git a/src/safe_x11/window.rs b/src/safe_x11/window.rs index 24b5b62..0e8ab10 100644 --- a/src/safe_x11/window.rs +++ b/src/safe_x11/window.rs @@ -1,3 +1,5 @@ +// See LICENSE file for copyright and license details. + use x11::xlib; use x11::xlib::{ Window, |