aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2012-12-12 09:18:20 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-12-12 09:18:20 (GMT)
commit4191cbf2d2a71a5aeae41d54a5638abfc4789122 (patch)
treeea647d0fb35362b432653d0fc098ec8c22412dd4 /src/main.cc
parentd8cd6a928b76dbe63afa82327c51715cb1a1bdc8 (diff)
downloadfluxbox-4191cbf2d2a71a5aeae41d54a5638abfc4789122.zip
fluxbox-4191cbf2d2a71a5aeae41d54a5638abfc4789122.tar.bz2
Fix build regression: enable XRANDR support by default
The changes made in b178bed60b5bd8b2c9ed0cbc67fd729ff3820589 used the wrong variable to set the default state of '--enable-randr' in configure.in, that is fixed now. I also removed '--enable-randr12': If support for the Xrandr-extension is available at compile time we set HAVE_RANDR; if there is also support for Xrandr-1.2 (or higher), we also set HAVE_RANDR1_2 automatically. Other changes: * cleaned out public interface of 'class Fluxbox' * added 'RANDR' to output of 'fluxbox -info'
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index c93aabf..74a3373 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -192,6 +192,15 @@ static void showInfo(ostream &ostr) {
192#endif // USE_TOOLBAR 192#endif // USE_TOOLBAR
193 "TOOLBAR" << endl << 193 "TOOLBAR" << endl <<
194 194
195#ifndef HAVE_RANDR
196 NOT <<
197#endif
198 "RANDR" <<
199#ifdef HAVE_RANDR1_2
200 "1.2" <<
201#endif
202 endl <<
203
195#ifndef USE_XFT 204#ifndef USE_XFT
196 NOT << 205 NOT <<
197#endif // USE_XFT 206#endif // USE_XFT