From 7be3cefefa38972c123cf5e750f0123b1e13c6e2 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Sun, 26 Mar 2006 09:35:56 +0000 Subject: [PATCH] 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) --- configure.ac.in | 6 +++--- defaults/defaults | 4 ++-- mcs-plugin/wmtweaks_plugin.c | 4 ++-- 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; -- GitLab