diff --git a/README.md b/README.md index 0af413e..e79d702 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ leanshot ======== +[![](https://api.travis-ci.org/iptq/leanshot.svg?branch=develop)](https://travis-ci.org/iptq/leanshot) + Screenshot-capturing utility. Installation diff --git a/src/gui.rs b/src/gui.rs index be397fb..669deac 100644 --- a/src/gui.rs +++ b/src/gui.rs @@ -87,6 +87,7 @@ impl GUI { MouseCursor, VirtualKeyCode, WindowBuilder, WindowEvent, }; use nanovg::{self, Image, ImagePattern, PathOptions, StrokeOptions}; + use x11; use std::{f32::consts, mem, slice}; // let attr = window.get_attributes()?;