aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2007-10-09 12:33:35 +0000
committerTomas Frydrych <tf@linux.intel.com>2007-10-09 12:33:35 +0000
commit4b0baef59562cd100d2d8927bbc47b04c2c2e1b0 (patch)
treebab21219c1f49b1f609f4d262acf698d14b3b13d /configure.ac
parent98de6a2d97efcb53537ae00aa4320f3a43bb00fb (diff)
downloadlibmatchboxwm2-4b0baef59562cd100d2d8927bbc47b04c2c2e1b0.tar.gz
libmatchboxwm2-4b0baef59562cd100d2d8927bbc47b04c2c2e1b0.tar.bz2
libmatchboxwm2-4b0baef59562cd100d2d8927bbc47b04c2c2e1b0.zip
2007-10-09 Tomas Frydrych <tf@o-hand.com>
* src/core/mb-wm-client.h: * src/core/mb-wm-layout.c: Added LayoutPrefFixedX, LayoutPrefFixedY to allow for themes to specify client size (e.g., png theme may want to specify height of a horizontal panel to tie with size of other elements on screen). Added LayoutPrefOverlaps to indicate that client expects to overlap with other clients rather than lay exclusive claim to its allocated real-estate (e.g., maemo toolbar). * src/core/mb-wm-types.h: Changed MBGeom.width and MBGeom.height from unsigned to signed so that negative values can be used to indicate that value is not set when querying theme for client geometry. * src/theme-engines/mb-wm-theme.c: * src/theme-engines/mb-wm-theme.h: (mb_wm_theme_get_client_geometry): Function to query if theme requests specific geometry values for particular client type. * src/theme-engines/mb-wm-theme-xml.c (mb_wm_xml_client_new): Initialized x, y, width and height values to -1. * configure.ac: * src/managers/Makefile.am: * src/managers/maemo/Makefile.am: * src/managers/maemo/maemo-toolbar.c: * src/managers/maemo/maemo-toolbar.h: * src/managers/maemo/maemo-window-manager.c: * src/managers/maemo/maemo-window-manager.h: * src/managers/maemo/matchbox-window-manager-2-maemo.c: Added maemo directory for maemo-specific WM.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac26
1 files changed, 24 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 69e020d..411fbfe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,24 @@ if test "$use_gtk" = yes; then
AC_DEFINE(USE_GTK, 1, [GTK Integration])
fi
+AC_ARG_ENABLE(simple-manager,
+ [ --disable-simple-manager Do not build simple window manager],
+ [simple_manager=$enableval], [simple_manager=yes])
+
+AC_ARG_ENABLE(maemo-manager,
+ [ --enable-maemo-manager Build maemo window manager],
+ [maemo_manager=$enableval], [maemo_manager=no])
+
+if test $simple_manager = yes; then
+ MANAGERS="$MANAGERS simple"
+fi
+
+if test $maemo_manager = yes; then
+ MANAGERS="$MANAGERS maemo"
+fi
+
+AC_SUBST(MANAGERS)
+
MBWM_INCS='-I$(top_srcdir)/src/core -I$(top_srcdir)/src/client-types -I$(top_srcdir)/src/theme-engines'
MBWM_CORE_LIB='$(top_builddir)/src/core/libmatchbox-window-manager-2-core.a'
MBWM_CLIENT_LIBS='$(top_builddir)/src/client-types'
@@ -86,11 +104,12 @@ AC_SUBST([MBWM_DEBUG_LDFLAGS])
AC_OUTPUT([
Makefile
-src/Makefile
+src/Makefile
src/core/Makefile
src/client-types/Makefile
src/managers/Makefile
src/managers/simple/Makefile
+src/managers/maemo/Makefile
src/theme-engines/Makefile
data/Makefile
data/themes/Makefile
@@ -107,5 +126,8 @@ echo "
Cairo theme: ${use_cairo}
PNG theme: ${png_theme}
GTK integration: ${use_gtk}
+
+ Simple manager: ${simple_manager}
+ Maemo manager: ${maemo_manager}
Debugging output: ${want_debug}
-" \ No newline at end of file
+"