aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2007-12-20 12:00:24 +0000
committerTomas Frydrych <tf@linux.intel.com>2007-12-20 12:00:24 +0000
commit7f066e6e669bc699df80dcee6c61ef4040cede6c (patch)
treef1450fd549413e820f8214e6e6bd0d9b95d16e05 /configure.ac
parentb2f620bd15c80b5efd48009e59e1bbbc0e9b21cc (diff)
downloadlibmatchboxwm2-7f066e6e669bc699df80dcee6c61ef4040cede6c.tar.gz
libmatchboxwm2-7f066e6e669bc699df80dcee6c61ef4040cede6c.tar.bz2
libmatchboxwm2-7f066e6e669bc699df80dcee6c61ef4040cede6c.zip
2007-12-19 Tomas Frydrych <tf@o-hand.com>
* configure.ac: Check for Xext. * doc/MBWM2-Overview.xml: Updated documentation. * src/core/mb-wm-client-base.c: (mb_wm_client_base_display_sync): * src/core/mb-wm-client.c: * src/core/mb-wm-client.h: (mb_wm_client_init): (mb_wm_client_is_argb32): Added new mb_wm_client_is_argb32() function to simplify checking for visual type. * src/core/mb-wm-object-props.h: * src/theme-engines/mb-wm-theme-xml.h: * src/theme-engines/mb-wm-theme.c: * src/theme-engines/mb-wm-theme.h: * src/theme-engines/mb-wm-theme-cairo.c: * src/theme-engines/mb-wm-theme-simple.c: Implemented shaped windows in PNG themes. * src/managers/maemo/theme/background.png: * src/managers/maemo/theme/theme.xml: Tweaked sample maemo theme to use shaped windows for dialogs and notifications.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 0fc4cde..e838e93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,6 +114,12 @@ if test x$have_xfixes = xyes; then
AC_DEFINE(HAVE_XFIXES, [1], [Use XFixes ext to really hide cursor])
fi
+PKG_CHECK_MODULES(XEXT, xext, have_xext=yes, have_xext=no)
+
+if test x$have_xext = xyes; then
+ AC_DEFINE(HAVE_XEXT, [1], [Use Xext ext])
+fi
+
PKG_CHECK_MODULES(XCURSOR, xcursor, have_xcursor=yes, have_xcursor=no)
if test x$have_xcursor = xyes; then
@@ -125,8 +131,8 @@ MBWM_CORE_LIB='$(top_builddir)/src/core/libmatchbox-window-manager-2-core.a'
MBWM_CLIENT_LIBS='$(top_builddir)/src/client-types'
MBWM_THEME_LIBS='$(top_builddir)/src/theme-engines'
MBWM_COMPMGR_LIBS='$(top_builddir)/src/comp-mgr'
-MBWM_CFLAGS="$MBWM_CFLAGS $MBWM_DEBUG_CFLAGS $THEME_PNG_CFLAGS $XFIXES_CFLAGS $XCURSOR_CFLAGS"
-MBWM_LIBS="$MBWM_LIBS $THEME_PNG_LIBS $XFIXES_LIBS $XCURSOR_LIBS"
+MBWM_CFLAGS="$MBWM_CFLAGS $MBWM_DEBUG_CFLAGS $THEME_PNG_CFLAGS $XFIXES_CFLAGS $XEXT_CFLAGS $XCURSOR_CFLAGS"
+MBWM_LIBS="$MBWM_LIBS $THEME_PNG_LIBS $XFIXES_LIBS $XEXT_LIBS $XCURSOR_LIBS"
AC_SUBST([MBWM_CFLAGS])
AC_SUBST([MBWM_LIBS])
@@ -164,7 +170,8 @@ echo "
Extension:
Xfixes : ${have_xfixes}
- Xcursor : ${have_cursor}
+ Xext : ${have_xext}
+ Xcursor : ${have_xcursor}
Themes:
Cairo theme : ${use_cairo}