aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/FbString.cc2
-rw-r--r--src/FbTk/Makefile.am4
-rw-r--r--src/Makefile.am21
-rw-r--r--src/Screen.cc17
-rw-r--r--src/tests/Makefile.am6
5 files changed, 38 insertions, 12 deletions
diff --git a/src/FbTk/FbString.cc b/src/FbTk/FbString.cc
index 5577f32..2bc7516 100644
--- a/src/FbTk/FbString.cc
+++ b/src/FbTk/FbString.cc
@@ -55,7 +55,7 @@ typedef int iconv_t;
55#endif // HAVE_ICONV 55#endif // HAVE_ICONV
56 56
57#ifdef HAVE_FRIBIDI 57#ifdef HAVE_FRIBIDI
58 #include <fribidi/fribidi.h> 58 #include <fribidi.h>
59#endif 59#endif
60 60
61#ifdef DEBUG 61#ifdef DEBUG
diff --git a/src/FbTk/Makefile.am b/src/FbTk/Makefile.am
index 3c34b22..983f923 100644
--- a/src/FbTk/Makefile.am
+++ b/src/FbTk/Makefile.am
@@ -3,7 +3,7 @@ noinst_LIBRARIES = libFbTk.a
3AM_CPPFLAGS=-include $(top_builddir)/config.h 3AM_CPPFLAGS=-include $(top_builddir)/config.h
4 4
5if XFT 5if XFT
6xft_SOURCE= XftFontImp.hh XftFontImp.cc 6xft_SOURCE = XftFontImp.hh XftFontImp.cc
7endif 7endif
8if MULTIBYTE 8if MULTIBYTE
9xmb_SOURCE= XmbFontImp.hh XmbFontImp.cc 9xmb_SOURCE= XmbFontImp.hh XmbFontImp.cc
@@ -15,6 +15,8 @@ if IMLIB2
15imlib2_SOURCE= ImageImlib2.hh ImageImlib2.cc 15imlib2_SOURCE= ImageImlib2.hh ImageImlib2.cc
16endif 16endif
17 17
18libFbTk_a_CPPFLAGS = $(FREETYPE2_CFLAGS) $(FRIBIDI_CFLAGS) $(AM_CPPFLAGS)
19
18libFbTk_a_SOURCES = App.hh App.cc \ 20libFbTk_a_SOURCES = App.hh App.cc \
19 Color.cc Color.hh Command.hh \ 21 Color.cc Color.hh Command.hh \
20 ColorLUT.cc ColorLUT.hh \ 22 ColorLUT.cc ColorLUT.hh \
diff --git a/src/Makefile.am b/src/Makefile.am
index 966546c..283e01d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -119,6 +119,27 @@ if SLIT_SRC
119SLIT_SOURCE = Slit.cc Slit.hh SlitTheme.hh SlitTheme.cc SlitClient.hh SlitClient.cc 119SLIT_SOURCE = Slit.cc Slit.hh SlitTheme.hh SlitTheme.cc SlitClient.hh SlitClient.cc
120endif 120endif
121 121
122fluxbox_CPPFLAGS = \
123 $(XRANDR_CFLAGS) \
124 $(FRIBIDI_CFLAGS) \
125 $(AM_CPPFLAGS)
126
127fluxbox_LDFLAGS = \
128 $(FONTCONFIG_LIBS) \
129 $(FREETYPE2_LIBS) \
130 $(FRIBIDI_LIBS) \
131 $(IMLIB2_LIBS) \
132 $(RANDR_LIBS) \
133 $(X11_LIBS) \
134 $(XEXT_LIBS) \
135 $(XFT_LIBS) \
136 $(XINERAMA_LIBS) \
137 $(XPM_LIBS) \
138 $(XRENDER_LIBS) \
139 $(X_EXTRA_LIBS) \
140 $(X_LIBS) \
141 $(X_PRE_LIBS)
142
122fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \ 143fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \
123 FbAtoms.hh FbAtoms.cc FbWinFrame.hh FbWinFrame.cc \ 144 FbAtoms.hh FbAtoms.cc FbWinFrame.hh FbWinFrame.cc \
124 FbWinFrameTheme.hh FbWinFrameTheme.cc \ 145 FbWinFrameTheme.hh FbWinFrameTheme.cc \
diff --git a/src/Screen.cc b/src/Screen.cc
index 05d274a..7cdf150 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -392,21 +392,18 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
392 392
393 393
394// setup RANDR for this screens root window 394// setup RANDR for this screens root window
395#if defined(HAVE_RANDR1_2) 395#if defined(HAVE_RANDR)
396 int randr_mask = RRScreenChangeNotifyMask; 396 int randr_mask = RRScreenChangeNotifyMask;
397#ifdef RRCrtcChangeNotifyMask 397# ifdef RRCrtcChangeNotifyMask
398 randr_mask |= RRCrtcChangeNotifyMask; 398 randr_mask |= RRCrtcChangeNotifyMask;
399#endif 399# endif
400#ifdef RROutputChangeNotifyMask 400# ifdef RROutputChangeNotifyMask
401 randr_mask |= RROutputChangeNotifyMask; 401 randr_mask |= RROutputChangeNotifyMask;
402#endif 402# endif
403#ifdef RROutputPropertyNotifyMask 403# ifdef RROutputPropertyNotifyMask
404 randr_mask |= RROutputPropertyNotifyMask; 404 randr_mask |= RROutputPropertyNotifyMask;
405#endif 405# endif
406 XRRSelectInput(disp, rootWindow().window(), randr_mask); 406 XRRSelectInput(disp, rootWindow().window(), randr_mask);
407
408#elif defined(HAVE_RANDR)
409 XRRScreenChangeSelectInput(disp, rootWindow().window(), True);
410#endif // HAVE_RANDR 407#endif // HAVE_RANDR
411 408
412 409
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 62d7604..73f269f 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -11,12 +11,18 @@ noinst_PROGRAMS= \
11 testRectangleUtil 11 testRectangleUtil
12 12
13testTexture_SOURCES = texturetest.cc 13testTexture_SOURCES = texturetest.cc
14testTexture_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(IMLIB2_LIBS) $(XPM_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS)
14testFont_SOURCES = testFont.cc 15testFont_SOURCES = testFont.cc
16testFont_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS)
15testSignals_SOURCES = testSignals.cc 17testSignals_SOURCES = testSignals.cc
18testSignals_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS)
16testKeys_SOURCES = testKeys.cc 19testKeys_SOURCES = testKeys.cc
20testKeys_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS)
17testDemandAttention_SOURCES = testDemandAttention.cc 21testDemandAttention_SOURCES = testDemandAttention.cc
22testDemandAttention_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS)
18#testResource_SOURCES = Resourcetest.cc 23#testResource_SOURCES = Resourcetest.cc
19testFullscreen_SOURCES = fullscreentest.cc 24testFullscreen_SOURCES = fullscreentest.cc
25testFullscreen_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS)
20testStringUtil_SOURCES = StringUtiltest.cc 26testStringUtil_SOURCES = StringUtiltest.cc
21testRectangleUtil_SOURCES = testRectangleUtil.cc 27testRectangleUtil_SOURCES = testRectangleUtil.cc
22 28