~focus-follows-mouse/ubuntu/precise/compiz/fix-883383

« back to all changes in this revision

Viewing changes to debian/compiz.wrapper

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Bruguier
  • Date: 2007-02-23 00:13:37 UTC
  • mfrom: (0.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070223001337-on0njges7lzsh2f0
Tags: 1:0.3.6-1ubuntu5
* debian/patches/010-tfp-server-extension.patch:
  - Make compiz look for GLX_EXT_texture_from_pixmap in the server
    extensions
* debian/compiz.wrapper:
  - Desactivate gtk-window-decorator startup made by compiz
  - Desactivate GLX_EXT_texture_from_pixmap made by compiz

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
# Check whether the GLX_EXT_texture_from_pixmap extension is available in
9
9
# direct or indirect rendering contexts. If it is available only in indirect
10
10
# rendering contexts, force compiz to use indirect rendering.
11
 
if test `$GLXINFO 2> /dev/null | grep -c $EXT_TFP` -lt 3; then
12
 
        echo "$EXT_TFP is not available with direct rendering."
13
 
 
14
 
        export LIBGL_ALWAYS_INDIRECT=1
15
 
        if test `$GLXINFO 2> /dev/null | grep -c $EXT_TFP` -lt 3; then
16
 
                echo "$EXT_TFP is not available with indirect rendering. Aborting!"
17
 
                unset LIBGL_ALWAYS_INDIRECT
18
 
                exit 1
19
 
        else
20
 
                echo "$EXT_TFP is available with indirect rendering."
21
 
        fi
22
 
else
23
 
        echo "$EXT_TFP is available with direct rendering."
24
 
fi
 
11
#if test `$GLXINFO 2> /dev/null | grep -c $EXT_TFP` -lt 3; then
 
12
#       echo "$EXT_TFP is not available with direct rendering."
 
13
#
 
14
#       export LIBGL_ALWAYS_INDIRECT=1
 
15
#       if test `$GLXINFO 2> /dev/null | grep -c $EXT_TFP` -lt 3; then
 
16
#               echo "$EXT_TFP is not available with indirect rendering. Aborting!"
 
17
#               unset LIBGL_ALWAYS_INDIRECT
 
18
#               exit 1
 
19
#       else
 
20
#               echo "$EXT_TFP is available with indirect rendering."
 
21
#       fi
 
22
#else
 
23
#       echo "$EXT_TFP is available with direct rendering."
 
24
#fi
25
25
 
26
26
# start the gtk-window-decorator if present
27
 
if [ -x /usr/bin/gtk-window-decorator ]; then
28
 
        /usr/bin/gtk-window-decorator --replace &
29
 
fi
 
27
#if [ -x /usr/bin/gtk-window-decorator ]; then
 
28
#       /usr/bin/gtk-window-decorator --replace &
 
29
#fi
30
30
 
31
31
# load the gconf plugin if present
32
32
if [ -f /usr/lib/compiz/libgconf.so ]; then