From 38c1fd25edd84379189824e86a6eef5c14665a09 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 30 Sep 2018 17:43:51 -0500 Subject: [PATCH] compile on stable --- README.md | 2 ++ src/gui.rs | 1 + 2 files changed, 3 insertions(+) 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()?;