summaryrefslogtreecommitdiffstats
path: root/desktop/apps/tint2/patches/100-remove-xinerama.patch
blob: 3e47c5840893c7e5a9cf5f972b1280fee503bfa7 (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
40
41
42
43
44
45
Index: tint2-svn622/CMakeLists.txt
===================================================================
--- tint2-svn622.orig/CMakeLists.txt	2011-01-28 00:33:58.156872575 +0100
+++ tint2-svn622/CMakeLists.txt	2011-01-28 00:34:02.980427899 +0100
@@ -3,7 +3,7 @@
 
 include( FindPkgConfig )
 include( CheckLibraryExists )
-pkg_check_modules( X11 REQUIRED x11 xcomposite xdamage xinerama xrender xrandr>=1.3 )
+pkg_check_modules( X11 REQUIRED x11 xcomposite xdamage xrender xrandr>=1.3 )
 pkg_check_modules( PANGOCAIRO REQUIRED pangocairo )
 pkg_check_modules( PANGO REQUIRED pango )
 pkg_check_modules( CAIRO REQUIRED cairo )
Index: tint2-svn622/src/server.c
===================================================================
--- tint2-svn622.orig/src/server.c	2011-01-28 00:34:08.749896022 +0100
+++ tint2-svn622/src/server.c	2011-01-28 00:34:41.025920539 +0100
@@ -258,6 +258,7 @@
 void get_monitors()
 {
 	int i, j, nbmonitor;
+#if 0
 	if (XineramaIsActive(server.dsp)) {
 		XineramaScreenInfo *info = XineramaQueryScreens(server.dsp, &nbmonitor);
 		XRRScreenResources *res = XRRGetScreenResourcesCurrent(server.dsp, server.root_win);
@@ -320,6 +321,7 @@
 			XRRFreeScreenResources(res);
 		XFree(info);
 	}
+#endif
 
 	if (!server.nb_monitor) {
 		server.nb_monitor = 1;
Index: tint2-svn622/src/server.h
===================================================================
--- tint2-svn622.orig/src/server.h	2011-01-28 00:35:29.212478265 +0100
+++ tint2-svn622/src/server.h	2011-01-28 00:35:34.835959840 +0100
@@ -11,7 +11,6 @@
 
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
-#include <X11/extensions/Xinerama.h>
 
 
 typedef struct Global_atom