summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan.olivier@wanadoo.fr>2006-03-26 09:35:56 +0000
committerOlivier Fourdan <fourdan.olivier@wanadoo.fr>2006-03-26 09:35:56 +0000
commit7be3cefefa38972c123cf5e750f0123b1e13c6e2 (patch)
tree3a46eefbfada1aaa0ab568a1b6cb8571e770dd01
parentcb9e90824d56a1eed0b277caa8dddfceac3c2450 (diff)
downloadxfwm4-7be3cefefa38972c123cf5e750f0123b1e13c6e2.tar.gz
Enable compositor by default (I think it's pretty safe to enable it now, it's a pretty well tested feature that's been there since 4.2) but use no shadow or transparency by default so that it's still nice to cards which don't have render acclerated in hardware. Users can tweak that using the wmtweaks settings, and if they really don't want the compositor to be enabled, they can either disable that in the Xorg.conf or even recompile xfwm4 withoug the compositor enabled.
(Old svn revision: 20573)
-rw-r--r--configure.ac.in6
-rw-r--r--defaults/defaults4
-rw-r--r--mcs-plugin/wmtweaks_plugin.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac.in b/configure.ac.in
index afc53c6dd..7b943b9f5 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -113,9 +113,9 @@ dnl
build_compositor="no"
ENABLE_COMPOSITOR=""
AC_ARG_ENABLE([compositor],
-AC_HELP_STRING([--enable-compositor], [enable compositor in xfwm4])
-AC_HELP_STRING([--disable-compositor], [disable compositor in xfwm4 (default)]),
- [], [enable_compositor=no])
+AC_HELP_STRING([--enable-compositor], [enable compositor in xfwm4 (default)])
+AC_HELP_STRING([--disable-compositor], [disable compositor in xfwm4]),
+ [], [enable_compositor=yes])
if test x"$enable_compositor" = x"yes"; then
if test x"$have_render" = x"yes"; then
diff --git a/defaults/defaults b/defaults/defaults
index ff6339192..ddf330c8d 100644
--- a/defaults/defaults
+++ b/defaults/defaults
@@ -31,8 +31,8 @@ shadow_delta_width=0
shadow_delta_x=0
shadow_delta_y=0
show_app_icon=false
-show_frame_shadow=true
-show_popup_shadow=true
+show_frame_shadow=false
+show_popup_shadow=false
snap_resist=false
snap_to_border=true
snap_to_windows=false
diff --git a/mcs-plugin/wmtweaks_plugin.c b/mcs-plugin/wmtweaks_plugin.c
index 3c8be73a9..43a50c325 100644
--- a/mcs-plugin/wmtweaks_plugin.c
+++ b/mcs-plugin/wmtweaks_plugin.c
@@ -59,8 +59,8 @@ static gboolean cycle_minimum = TRUE;
static gboolean cycle_hidden = TRUE;
static gboolean cycle_workspaces = FALSE;
static gboolean focus_hint = TRUE;
-static gboolean show_frame_shadow = TRUE;
-static gboolean show_popup_shadow = TRUE;
+static gboolean show_frame_shadow = FALSE;
+static gboolean show_popup_shadow = FALSE;
static gboolean prevent_focus_stealing = FALSE;
static gboolean raise_with_any_button = FALSE;
static gboolean restore_on_move = TRUE;