diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/FbString.cc | 2 | ||||
-rw-r--r-- | src/FbTk/Makefile.am | 4 | ||||
-rw-r--r-- | src/Makefile.am | 21 | ||||
-rw-r--r-- | src/Screen.cc | 17 | ||||
-rw-r--r-- | src/tests/Makefile.am | 6 |
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 | |||
3 | AM_CPPFLAGS=-include $(top_builddir)/config.h | 3 | AM_CPPFLAGS=-include $(top_builddir)/config.h |
4 | 4 | ||
5 | if XFT | 5 | if XFT |
6 | xft_SOURCE= XftFontImp.hh XftFontImp.cc | 6 | xft_SOURCE = XftFontImp.hh XftFontImp.cc |
7 | endif | 7 | endif |
8 | if MULTIBYTE | 8 | if MULTIBYTE |
9 | xmb_SOURCE= XmbFontImp.hh XmbFontImp.cc | 9 | xmb_SOURCE= XmbFontImp.hh XmbFontImp.cc |
@@ -15,6 +15,8 @@ if IMLIB2 | |||
15 | imlib2_SOURCE= ImageImlib2.hh ImageImlib2.cc | 15 | imlib2_SOURCE= ImageImlib2.hh ImageImlib2.cc |
16 | endif | 16 | endif |
17 | 17 | ||
18 | libFbTk_a_CPPFLAGS = $(FREETYPE2_CFLAGS) $(FRIBIDI_CFLAGS) $(AM_CPPFLAGS) | ||
19 | |||
18 | libFbTk_a_SOURCES = App.hh App.cc \ | 20 | libFbTk_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 | |||
119 | SLIT_SOURCE = Slit.cc Slit.hh SlitTheme.hh SlitTheme.cc SlitClient.hh SlitClient.cc | 119 | SLIT_SOURCE = Slit.cc Slit.hh SlitTheme.hh SlitTheme.cc SlitClient.hh SlitClient.cc |
120 | endif | 120 | endif |
121 | 121 | ||
122 | fluxbox_CPPFLAGS = \ | ||
123 | $(XRANDR_CFLAGS) \ | ||
124 | $(FRIBIDI_CFLAGS) \ | ||
125 | $(AM_CPPFLAGS) | ||
126 | |||
127 | fluxbox_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 | |||
122 | fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \ | 143 | fluxbox_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 | ||
13 | testTexture_SOURCES = texturetest.cc | 13 | testTexture_SOURCES = texturetest.cc |
14 | testTexture_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(IMLIB2_LIBS) $(XPM_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS) | ||
14 | testFont_SOURCES = testFont.cc | 15 | testFont_SOURCES = testFont.cc |
16 | testFont_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS) | ||
15 | testSignals_SOURCES = testSignals.cc | 17 | testSignals_SOURCES = testSignals.cc |
18 | testSignals_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) | ||
16 | testKeys_SOURCES = testKeys.cc | 19 | testKeys_SOURCES = testKeys.cc |
20 | testKeys_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS) | ||
17 | testDemandAttention_SOURCES = testDemandAttention.cc | 21 | testDemandAttention_SOURCES = testDemandAttention.cc |
22 | testDemandAttention_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS) | ||
18 | #testResource_SOURCES = Resourcetest.cc | 23 | #testResource_SOURCES = Resourcetest.cc |
19 | testFullscreen_SOURCES = fullscreentest.cc | 24 | testFullscreen_SOURCES = fullscreentest.cc |
25 | testFullscreen_LDFLAGS = $(X_LIBS) $(X11_LIBS) $(FRIBIDI_LIBS) $(XRENDER_LIBS) $(XFT_LIBS) $(FONTCONFIG_LIBS) | ||
20 | testStringUtil_SOURCES = StringUtiltest.cc | 26 | testStringUtil_SOURCES = StringUtiltest.cc |
21 | testRectangleUtil_SOURCES = testRectangleUtil.cc | 27 | testRectangleUtil_SOURCES = testRectangleUtil.cc |
22 | 28 | ||