summaryrefslogtreecommitdiff
blob: 2f596b65e99289ccb5d649a12f3a334ead414f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 62cc1a6..f5d66e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,14 +71,8 @@ endif()
 
 # Obtain library paths and make sure they exist.
 set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmakemodules" )
-find_package( Imlib2    REQUIRED )
 find_package( X11       REQUIRED )
 find_package( XExt      REQUIRED )
-find_package( OpenGL    REQUIRED )
-find_package( GLX       REQUIRED )
-find_package( XRender   REQUIRED )
-find_package( XRandr    REQUIRED )
-find_package( GLEW      REQUIRED )
 
 set( CMAKE_CXX_FLAGS
      "${CMAKE_CXX_FLAGS} ${CMAKE_IMLIB2_CXX_FLAGS}" )
diff --git a/src/x.hpp b/src/x.hpp
index 2478414..f35e722 100644
--- a/src/x.hpp
+++ b/src/x.hpp
@@ -26,7 +26,6 @@
 #include <X11/Xlib.h>
 #include <X11/cursorfont.h>
 #include <X11/extensions/shape.h>
-#include <X11/extensions/Xrandr.h>
 
 #include <stdlib.h>
 #include <cstring>
@@ -97,7 +96,6 @@ public:
     std::vector<bool>   m_mouse;
     bool                mouseDown( unsigned int button );
     bool                m_keypressed;
-    XRRScreenResources* m_res;
 private:
     slop::CursorType    m_currentCursor;
     bool                m_good;