aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-11-16 01:29:52 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-11-16 01:29:52 -0300
commit27d0eddd4c1cc275d90938c350a3563428ec5b4f (patch)
treee8ab62b3b7ca761f349bc8ad34ffe25ccb27adb4 /src
parent1c3e06f29ad59c084c00725bf7041c2af126b22d (diff)
downloaddotwm-27d0eddd4c1cc275d90938c350a3563428ec5b4f.tar.gz
Add MIT LICENSE
Diffstat (limited to 'src')
-rw-r--r--src/command.rs2
-rw-r--r--src/dotwm.rs2
-rw-r--r--src/event.rs2
-rw-r--r--src/main.rs2
-rw-r--r--src/safe_x11/mod.rs2
-rw-r--r--src/safe_x11/window.rs2
6 files changed, 12 insertions, 0 deletions
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,