summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@XPS-FEDORA.(none)>2009-07-28 21:53:10 +0800
committerSam Spilsbury <smspillaz@XPS-FEDORA.(none)>2009-07-28 21:53:10 +0800
commitfe2550ac263dad43df74da2b89f564690d602c25 (patch)
treef87929a6996b9fd448ae3f2959b64a7bafa600a2
parent1203709daaaba3a0da330d607e8e07a1ce878dd1 (diff)
downloadautoresize-fe2550ac263dad43df74da2b89f564690d602c25.tar.gz
autoresize-fe2550ac263dad43df74da2b89f564690d602c25.tar.bz2
Add relevant files
-rw-r--r--CMakeLists.txt~5
-rw-r--r--automake.xml.in~10
-rw-r--r--autoresize.in10
-rw-r--r--build/CMakeCache.txt370
-rw-r--r--build/CMakeFiles/CMakeCCompiler.cmake36
-rw-r--r--build/CMakeFiles/CMakeCXXCompiler.cmake36
-rwxr-xr-xbuild/CMakeFiles/CMakeDetermineCompilerABI_C.binbin0 -> 5313 bytes
-rwxr-xr-xbuild/CMakeFiles/CMakeDetermineCompilerABI_CXX.binbin0 -> 5563 bytes
-rw-r--r--build/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/CMakeFiles/CMakeOutput.log89
-rw-r--r--build/CMakeFiles/CMakeSystem.cmake15
-rw-r--r--build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c182
-rwxr-xr-xbuild/CMakeFiles/CompilerIdC/a.outbin0 -> 4894 bytes
-rw-r--r--build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp169
-rwxr-xr-xbuild/CMakeFiles/CompilerIdCXX/a.outbin0 -> 5215 bytes
-rw-r--r--build/CMakeFiles/Makefile.cmake45
-rw-r--r--build/CMakeFiles/Makefile299
-rw-r--r--build/CMakeFiles/autoresize.dir/CXX.includecache12
-rw-r--r--build/CMakeFiles/autoresize.dir/DependInfo.cmake13
-rw-r--r--build/CMakeFiles/autoresize.dir/build.make103
-rw-r--r--build/CMakeFiles/autoresize.dir/cmake_clean.cmake11
-rw-r--r--build/CMakeFiles/autoresize.dir/depend.internal5
-rw-r--r--build/CMakeFiles/autoresize.dir/depend.make5
-rw-r--r--build/CMakeFiles/autoresize.dir/flags.make10
-rw-r--r--build/CMakeFiles/autoresize.dir/link.txt1
-rw-r--r--build/CMakeFiles/autoresize.dir/progress.make2
-rw-r--r--build/CMakeFiles/autoresize.dir/src/autoresize.cpp.obin0 -> 219360 bytes
-rw-r--r--build/CMakeFiles/cmake.check_cache1
-rw-r--r--build/CMakeFiles/progress.make1
-rw-r--r--build/Makefile208
-rw-r--r--build/cmake_install.cmake53
-rw-r--r--build/cmake_uninstall.cmake22
-rwxr-xr-xbuild/libautoresize.sobin0 -> 178732 bytes
-rw-r--r--src/autoresize.cpp101
-rw-r--r--src/autoresize.cpp~101
-rw-r--r--src/autoresize.h54
-rw-r--r--src/autoresize.h~52
37 files changed, 1848 insertions, 0 deletions
diff --git a/CMakeLists.txt~ b/CMakeLists.txt~
new file mode 100644
index 0000000..c010512
--- /dev/null
+++ b/CMakeLists.txt~
@@ -0,0 +1,5 @@
+find_package (Compiz REQUIRED)
+
+include (CompizPlugin)
+
+compiz_plugin (make)
diff --git a/automake.xml.in~ b/automake.xml.in~
new file mode 100644
index 0000000..6a71542
--- /dev/null
+++ b/automake.xml.in~
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<compiz>
+ <plugin name="snap" useBcop="true">
+ <_short>Auto Resize Windows</_short>
+ <_long>Automatically resize windows after the screen changes size</_long>
+ <category>Window Management</category>
+ <options>
+ </options>
+ </plugin>
+</compiz>
diff --git a/autoresize.in b/autoresize.in
new file mode 100644
index 0000000..700b822
--- /dev/null
+++ b/autoresize.in
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<compiz>
+ <plugin name="autoresize">
+ <_short>Auto Resize Windows</_short>
+ <_long>Automatically resize windows after the screen changes size</_long>
+ <category>Window Management</category>
+ <options>
+ </options>
+ </plugin>
+</compiz>
diff --git a/build/CMakeCache.txt b/build/CMakeCache.txt
new file mode 100644
index 0000000..aabec49
--- /dev/null
+++ b/build/CMakeCache.txt
@@ -0,0 +1,370 @@
+# This is the CMakeCache file.
+# For build in directory: /home/smspillaz/Source/compiz/dev/plugins/autoresize/build
+# It was generated by CMake: /usr/bin/cmake
+# You can edit this file to change values found and used by cmake.
+# If you do not want to change any of the values, simply exit the editor.
+# If you do want to change a value, simply edit, save, and exit the editor.
+# The syntax for the file is as follows:
+# KEY:TYPE=VALUE
+# KEY is the name of a variable in the cache.
+# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
+# VALUE is the current value for the KEY.
+
+########################
+# EXTERNAL cache entries
+########################
+
+//Path to a program.
+CMAKE_AR:FILEPATH=/usr/bin/ar
+
+//For backwards compatibility, what version of CMake commands and
+// syntax should this version of CMake try to support.
+CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
+
+//Enable/Disable color output during build.
+CMAKE_COLOR_MAKEFILE:BOOL=ON
+
+//CXX compiler.
+CMAKE_CXX_COMPILER:FILEPATH=/usr/lib/ccache/c++
+
+//Flags used by the compiler during all build types.
+CMAKE_CXX_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_CXX_FLAGS_DEBUG:STRING=-g
+
+//Flags used by the compiler during release minsize builds.
+CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds (/MD /Ob1 /Oi
+// /Ot /Oy /Gs will produce slightly less optimized but smaller
+// files).
+CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
+
+//Flags used by the compiler during Release with Debug Info builds.
+CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
+
+//C compiler.
+CMAKE_C_COMPILER:FILEPATH=/usr/lib/ccache/gcc
+
+//Flags used by the compiler during all build types.
+CMAKE_C_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_C_FLAGS_DEBUG:STRING=-g
+
+//Flags used by the compiler during release minsize builds.
+CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds (/MD /Ob1 /Oi
+// /Ot /Oy /Gs will produce slightly less optimized but smaller
+// files).
+CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
+
+//Flags used by the compiler during Release with Debug Info builds.
+CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
+
+//Flags used by the linker.
+CMAKE_EXE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Install path prefix, prepended onto install directories.
+CMAKE_INSTALL_PREFIX:PATH=/opt/compiz
+
+//Path to a program.
+CMAKE_LINKER:FILEPATH=/usr/bin/ld
+
+//Path to a program.
+CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
+
+//Flags used by the linker during the creation of modules.
+CMAKE_MODULE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_NM:FILEPATH=/usr/bin/nm
+
+//Path to a program.
+CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
+
+//Path to a program.
+CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
+
+//Path to a program.
+CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
+
+//Flags used by the linker during the creation of dll's.
+CMAKE_SHARED_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//If set, runtime paths are not added when using shared libraries.
+CMAKE_SKIP_RPATH:BOOL=NO
+
+//Path to a program.
+CMAKE_STRIP:FILEPATH=/usr/bin/strip
+
+//If true, cmake will use relative paths in makefiles and projects.
+CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
+
+//If this value is on, makefiles will be generated without the
+// .SILENT directive, and all commands will be echoed to the console
+// during the make. This is useful for debugging only. With Visual
+// Studio IDE projects all commands are done without /nologo.
+CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
+
+//Disable building of plugin "autoresize"
+COMPIZ_DISABLE_PLUGIN_AUTORESIZE:BOOL=OFF
+
+//Disables gconf schema installation with gconftool
+COMPIZ_DISABLE_SCHEMAS_INSTALL:BOOL=OFF
+
+//Translation file directory
+COMPIZ_I18N_DIR:PATH=
+
+//Installation path of the gconf schema file
+COMPIZ_INSTALL_GCONF_SCHEMA_DIR:PATH=
+
+//Where a plugin should be installed (package | compiz | local)
+COMPIZ_PLUGIN_INSTALL_TYPE:STRING=compiz
+
+//Single output directory for building all executables.
+EXECUTABLE_OUTPUT_PATH:PATH=
+
+//Single output directory for building all libraries.
+LIBRARY_OUTPUT_PATH:PATH=
+
+//pkg-config executable
+PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config
+
+//Value Computed by CMake
+Project_BINARY_DIR:STATIC=/home/smspillaz/Source/compiz/dev/plugins/autoresize/build
+
+//Value Computed by CMake
+Project_SOURCE_DIR:STATIC=/home/smspillaz/Source/compiz/dev/plugins/autoresize
+
+//Package version that is added to a plugin pkg-version file
+VERSION:STRING=
+
+//Path to a program.
+XSLTPROC_EXECUTABLE:FILEPATH=/usr/bin/xsltproc
+
+//Path to a file.
+_autoresize_pkg:FILEPATH=_autoresize_pkg-NOTFOUND
+
+//Path to a file.
+_autoresize_xml:FILEPATH=_autoresize_xml-NOTFOUND
+
+//Path to a file.
+_autoresize_xml_in:FILEPATH=_autoresize_xml_in-NOTFOUND
+
+//Path to a file.
+_compiz_def_macro:PATH=/opt/compiz/share/compiz/cmake
+
+//Dependencies for the target
+autoresize_LIB_DEPENDS:STATIC=general;Xdamage;general;Xcomposite;general;X11-xcb;general;Xrandr;general;Xinerama;general;SM;general;xslt;general;z;general;m;general;startup-notification-1;general;Xfixes;general;X11;general;xcb;general;ICE;general;xml2;
+
+
+########################
+# INTERNAL cache entries
+########################
+
+//Advanced flag for variable: CMAKE_AR
+CMAKE_AR-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_BUILD_TOOL
+CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
+//What is the target build tool cmake is generating for.
+CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/gmake
+CMAKE_BUILD_TYPE:INTERNAL=debug
+//This is the directory where this CMakeCahe.txt was created
+CMAKE_CACHEFILE_DIR:INTERNAL=/home/smspillaz/Source/compiz/dev/plugins/autoresize/build
+//Major version of cmake used to create the current loaded cache
+CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
+//Minor version of cmake used to create the current loaded cache
+CMAKE_CACHE_MINOR_VERSION:INTERNAL=6
+//Major version of cmake used to create the current loaded cache
+CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 4
+//Advanced flag for variable: CMAKE_COLOR_MAKEFILE
+CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
+//Path to CMake executable.
+CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
+//Path to cpack program executable.
+CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
+//Path to ctest program executable.
+CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
+//Advanced flag for variable: CMAKE_CXX_COMPILER
+CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
+CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
+//Advanced flag for variable: CMAKE_CXX_FLAGS
+CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG
+CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL
+CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE
+CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
+CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_C_COMPILER
+CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
+CMAKE_C_COMPILER_WORKS:INTERNAL=1
+//Advanced flag for variable: CMAKE_C_FLAGS
+CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_C_FLAGS_DEBUG
+CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL
+CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_C_FLAGS_RELEASE
+CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
+CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Result of TRY_COMPILE
+CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE
+//Result of TRY_COMPILE
+CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
+//Path to cache edit program executable.
+CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
+//Executable file format
+CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
+//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS
+CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
+CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
+CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Name of generator.
+CMAKE_GENERATOR:INTERNAL=Unix Makefiles
+//Start directory with the top level CMakeLists.txt file for this
+// project
+CMAKE_HOME_DIRECTORY:INTERNAL=/home/smspillaz/Source/compiz/dev/plugins/autoresize
+//Modified flag for variable: CMAKE_INSTALL_PREFIX
+CMAKE_INSTALL_PREFIX-MODIFIED:INTERNAL=1
+//Install .so files without execute permission.
+CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
+//Advanced flag for variable: CMAKE_LINKER
+CMAKE_LINKER-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_MAKE_PROGRAM
+CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS
+CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
+CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
+CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_NM
+CMAKE_NM-ADVANCED:INTERNAL=1
+//number of local generators
+CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=1
+//Advanced flag for variable: CMAKE_OBJCOPY
+CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_OBJDUMP
+CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_RANLIB
+CMAKE_RANLIB-ADVANCED:INTERNAL=1
+//Path to CMake installation.
+CMAKE_ROOT:INTERNAL=/usr/share/cmake
+//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS
+CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
+CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
+CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_SKIP_RPATH
+CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_STRIP
+CMAKE_STRIP-ADVANCED:INTERNAL=1
+//uname command
+CMAKE_UNAME:INTERNAL=/bin/uname
+//Advanced flag for variable: CMAKE_USE_RELATIVE_PATHS
+CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
+//Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE
+CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
+COMPIZ_AUTORESIZE_BUILD:INTERNAL=TRUE
+COMPIZ_AUTORESIZE_MISSING_DEPS:INTERNAL=
+COMPIZ_CFLAGS:INTERNAL=-I/usr/include/libxml2;-I/usr/include/startup-notification-1.0;-I/opt/compiz/include/compiz
+COMPIZ_CFLAGS_I:INTERNAL=
+COMPIZ_CFLAGS_OTHER:INTERNAL=
+COMPIZ_FOUND:INTERNAL=1
+COMPIZ_INCLUDEDIR:INTERNAL=/opt/compiz/include
+COMPIZ_INCLUDE_DIRS:INTERNAL=/usr/include/libxml2;/usr/include/startup-notification-1.0;/opt/compiz/include/compiz
+COMPIZ_LDFLAGS:INTERNAL=-lXdamage;-lXcomposite;-lX11-xcb;-lXrandr;-lXinerama;-lSM;-lxslt;-lz;-lm;-lstartup-notification-1;-lXfixes;-lX11;-lxcb;-lICE;-lxml2
+COMPIZ_LDFLAGS_OTHER:INTERNAL=
+COMPIZ_LIBDIR:INTERNAL=/opt/compiz/lib
+COMPIZ_LIBRARIES:INTERNAL=Xdamage;Xcomposite;X11-xcb;Xrandr;Xinerama;SM;xslt;z;m;startup-notification-1;Xfixes;X11;xcb;ICE;xml2
+COMPIZ_LIBRARY_DIRS:INTERNAL=
+COMPIZ_LIBS:INTERNAL=
+COMPIZ_LIBS_L:INTERNAL=
+COMPIZ_LIBS_OTHER:INTERNAL=
+COMPIZ_LIBS_PATHS:INTERNAL=
+//Modified flag for variable: COMPIZ_PLUGIN_INSTALL_TYPE
+COMPIZ_PLUGIN_INSTALL_TYPE-MODIFIED:INTERNAL=1
+COMPIZ_PREFIX:INTERNAL=/opt/compiz
+COMPIZ_STATIC_CFLAGS:INTERNAL=-I/usr/include/libxml2;-I/usr/include/startup-notification-1.0;-I/opt/compiz/include/compiz
+COMPIZ_STATIC_CFLAGS_I:INTERNAL=
+COMPIZ_STATIC_CFLAGS_OTHER:INTERNAL=
+COMPIZ_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include/libxml2;/usr/include/startup-notification-1.0;/opt/compiz/include/compiz
+COMPIZ_STATIC_LDFLAGS:INTERNAL=-lXdamage;-lXcomposite;-lX11-xcb;-lXrandr;-lXinerama;-lSM;-lxslt;-lstartup-notification-1;-lXfixes;-lXrender;-lXext;-lX11;-lpthread;-lxcb;-lXau;-lICE;-lxml2;-lz;-lm
+COMPIZ_STATIC_LDFLAGS_OTHER:INTERNAL=
+COMPIZ_STATIC_LIBDIR:INTERNAL=
+COMPIZ_STATIC_LIBRARIES:INTERNAL=Xdamage;Xcomposite;X11-xcb;Xrandr;Xinerama;SM;xslt;startup-notification-1;Xfixes;Xrender;Xext;X11;pthread;xcb;Xau;ICE;xml2;z;m
+COMPIZ_STATIC_LIBRARY_DIRS:INTERNAL=
+COMPIZ_STATIC_LIBS:INTERNAL=
+COMPIZ_STATIC_LIBS_L:INTERNAL=
+COMPIZ_STATIC_LIBS_OTHER:INTERNAL=
+COMPIZ_STATIC_LIBS_PATHS:INTERNAL=
+COMPIZ_VERSION:INTERNAL=0.9.0
+COMPIZ_compiz_INCLUDEDIR:INTERNAL=
+COMPIZ_compiz_LIBDIR:INTERNAL=
+COMPIZ_compiz_PREFIX:INTERNAL=
+COMPIZ_compiz_VERSION:INTERNAL=
+//Advanced flag for variable: PKG_CONFIG_EXECUTABLE
+PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
+//Advanced flag for variable: XSLTPROC_EXECUTABLE
+XSLTPROC_EXECUTABLE-ADVANCED:INTERNAL=1
+__pkg_config_checked_COMPIZ:INTERNAL=1
+_compiz_uninstall_rule_created:INTERNAL=TRUE
+
diff --git a/build/CMakeFiles/CMakeCCompiler.cmake b/build/CMakeFiles/CMakeCCompiler.cmake
new file mode 100644
index 0000000..c741780
--- /dev/null
+++ b/build/CMakeFiles/CMakeCCompiler.cmake
@@ -0,0 +1,36 @@
+SET(CMAKE_C_COMPILER "/usr/lib/ccache/gcc")
+SET(CMAKE_C_COMPILER_ARG1 "")
+SET(CMAKE_C_COMPILER_ID "GNU")
+SET(CMAKE_C_PLATFORM_ID "Linux")
+SET(CMAKE_AR "/usr/bin/ar")
+SET(CMAKE_RANLIB "/usr/bin/ranlib")
+SET(CMAKE_COMPILER_IS_GNUCC 1)
+SET(CMAKE_C_COMPILER_LOADED 1)
+SET(CMAKE_COMPILER_IS_MINGW )
+SET(CMAKE_COMPILER_IS_CYGWIN )
+IF(CMAKE_COMPILER_IS_CYGWIN)
+ SET(CYGWIN 1)
+ SET(UNIX 1)
+ENDIF(CMAKE_COMPILER_IS_CYGWIN)
+
+SET(CMAKE_C_COMPILER_ENV_VAR "CC")
+
+IF(CMAKE_COMPILER_IS_MINGW)
+ SET(MINGW 1)
+ENDIF(CMAKE_COMPILER_IS_MINGW)
+SET(CMAKE_C_COMPILER_ID_RUN 1)
+SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
+SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+SET(CMAKE_C_LINKER_PREFERENCE 10)
+
+# Save compiler ABI information.
+SET(CMAKE_C_SIZEOF_DATA_PTR "4")
+SET(CMAKE_C_COMPILER_ABI "ELF")
+
+IF(CMAKE_C_SIZEOF_DATA_PTR)
+ SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
+ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
+
+IF(CMAKE_C_COMPILER_ABI)
+ SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
+ENDIF(CMAKE_C_COMPILER_ABI)
diff --git a/build/CMakeFiles/CMakeCXXCompiler.cmake b/build/CMakeFiles/CMakeCXXCompiler.cmake
new file mode 100644
index 0000000..80aecbf
--- /dev/null
+++ b/build/CMakeFiles/CMakeCXXCompiler.cmake
@@ -0,0 +1,36 @@
+SET(CMAKE_CXX_COMPILER "/usr/lib/ccache/c++")
+SET(CMAKE_CXX_COMPILER_ARG1 "")
+SET(CMAKE_CXX_COMPILER_ID "GNU")
+SET(CMAKE_CXX_PLATFORM_ID "Linux")
+SET(CMAKE_AR "/usr/bin/ar")
+SET(CMAKE_RANLIB "/usr/bin/ranlib")
+SET(CMAKE_COMPILER_IS_GNUCXX 1)
+SET(CMAKE_CXX_COMPILER_LOADED 1)
+SET(CMAKE_COMPILER_IS_MINGW )
+SET(CMAKE_COMPILER_IS_CYGWIN )
+IF(CMAKE_COMPILER_IS_CYGWIN)
+ SET(CYGWIN 1)
+ SET(UNIX 1)
+ENDIF(CMAKE_COMPILER_IS_CYGWIN)
+
+SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
+
+IF(CMAKE_COMPILER_IS_MINGW)
+ SET(MINGW 1)
+ENDIF(CMAKE_COMPILER_IS_MINGW)
+SET(CMAKE_CXX_COMPILER_ID_RUN 1)
+SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm)
+SET(CMAKE_CXX_LINKER_PREFERENCE 30)
+
+# Save compiler ABI information.
+SET(CMAKE_CXX_SIZEOF_DATA_PTR "4")
+SET(CMAKE_CXX_COMPILER_ABI "ELF")
+
+IF(CMAKE_CXX_SIZEOF_DATA_PTR)
+ SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
+ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
+
+IF(CMAKE_CXX_COMPILER_ABI)
+ SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
+ENDIF(CMAKE_CXX_COMPILER_ABI)
diff --git a/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin b/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin
new file mode 100755
index 0000000..2ca10d2
--- /dev/null
+++ b/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Binary files differ
diff --git a/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin b/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
new file mode 100755
index 0000000..8e486e8
--- /dev/null
+++ b/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Binary files differ
diff --git a/build/CMakeFiles/CMakeDirectoryInformation.cmake b/build/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644
index 0000000..e27866d
--- /dev/null
+++ b/build/CMakeFiles/CMakeDirectoryInformation.cmake
@@ -0,0 +1,27 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+# Relative path conversion top directories.
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/smspillaz/Source/compiz/dev/plugins/autoresize")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build")
+
+# Force unix paths in dependencies.
+SET(CMAKE_FORCE_UNIX_PATHS 1)
+
+# The C and CXX include file search paths:
+SET(CMAKE_C_INCLUDE_PATH
+ "../src"
+ "../include"
+ "generated"
+ "/usr/include/libxml2"
+ "/usr/include/startup-notification-1.0"
+ "/opt/compiz/include/compiz"
+ )
+SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/CMakeFiles/CMakeOutput.log b/build/CMakeFiles/CMakeOutput.log
new file mode 100644
index 0000000..8e6442c
--- /dev/null
+++ b/build/CMakeFiles/CMakeOutput.log
@@ -0,0 +1,89 @@
+The system is: Linux - 2.6.29.6-213.fc11.i686.PAE - i686
+Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
+Compiler: /usr/lib/ccache/gcc
+Build flags:
+Id flags:
+
+The output was:
+0
+
+
+Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
+
+The C compiler identification is GNU, found in "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CompilerIdC/a.out"
+
+Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
+Compiler: /usr/lib/ccache/c++
+Build flags:
+Id flags:
+
+The output was:
+0
+CMakeCXXCompilerId.cpp:67: warning: deprecated conversion from string constant to ‘char*’
+CMakeCXXCompilerId.cpp:157: warning: deprecated conversion from string constant to ‘char*’
+
+
+Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
+
+The CXX compiler identification is GNU, found in "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CompilerIdCXX/a.out"
+
+Determining if the C compiler works passed with the following output:
+Change Dir: /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
+/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
+gmake[1]: Entering directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
+/usr/lib/ccache/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp/testCCompiler.c
+Linking C executable cmTryCompileExec
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
+/usr/lib/ccache/gcc -fPIC CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic
+gmake[1]: Leaving directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+
+
+Detecting C compiler ABI info compiled with the following output:
+Change Dir: /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
+/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
+gmake[1]: Entering directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o
+/usr/lib/ccache/gcc -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
+Linking C executable cmTryCompileExec
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
+/usr/lib/ccache/gcc -fPIC CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec -rdynamic
+gmake[1]: Leaving directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+
+
+Determining if the CXX compiler works passed with the following output:
+Change Dir: /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
+/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
+gmake[1]: Entering directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o
+/usr/lib/ccache/c++ -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
+Linking CXX executable cmTryCompileExec
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
+/usr/lib/ccache/c++ -fPIC CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExec -rdynamic
+gmake[1]: Leaving directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+
+
+Detecting CXX compiler ABI info compiled with the following output:
+Change Dir: /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp
+
+Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
+/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
+gmake[1]: Entering directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building CXX object CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o
+/usr/lib/ccache/c++ -o CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
+Linking CXX executable cmTryCompileExec
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
+/usr/lib/ccache/c++ -fPIC CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec -rdynamic
+gmake[1]: Leaving directory `/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/CMakeTmp'
+
+
diff --git a/build/CMakeFiles/CMakeSystem.cmake b/build/CMakeFiles/CMakeSystem.cmake
new file mode 100644
index 0000000..1ce4016
--- /dev/null
+++ b/build/CMakeFiles/CMakeSystem.cmake
@@ -0,0 +1,15 @@
+
+
+SET(CMAKE_SYSTEM "Linux-2.6.29.6-213.fc11.i686.PAE")
+SET(CMAKE_SYSTEM_NAME "Linux")
+SET(CMAKE_SYSTEM_VERSION "2.6.29.6-213.fc11.i686.PAE")
+SET(CMAKE_SYSTEM_PROCESSOR "i686")
+
+SET(CMAKE_HOST_SYSTEM "Linux-2.6.29.6-213.fc11.i686.PAE")
+SET(CMAKE_HOST_SYSTEM_NAME "Linux")
+SET(CMAKE_HOST_SYSTEM_VERSION "2.6.29.6-213.fc11.i686.PAE")
+SET(CMAKE_HOST_SYSTEM_PROCESSOR "i686")
+
+SET(CMAKE_CROSSCOMPILING "FALSE")
+
+SET(CMAKE_SYSTEM_LOADED 1)
diff --git a/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c b/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
new file mode 100644
index 0000000..7fd0088
--- /dev/null
+++ b/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
@@ -0,0 +1,182 @@
+#ifdef __cplusplus
+# error "A C++ compiler has been selected for C."
+#endif
+
+#if defined(__18CXX)
+# define ID_VOID_MAIN
+#endif
+
+#if defined(__INTEL_COMPILER) || defined(__ICC)
+# define COMPILER_ID "Intel"
+
+#elif defined(__BORLANDC__)
+# define COMPILER_ID "Borland"
+
+#elif defined(__WATCOMC__)
+# define COMPILER_ID "Watcom"
+
+#elif defined(__SUNPRO_C)
+# define COMPILER_ID "SunPro"
+
+#elif defined(__HP_cc)
+# define COMPILER_ID "HP"
+
+#elif defined(__DECC)
+# define COMPILER_ID "Compaq"
+
+#elif defined(__IBMC__)
+# define COMPILER_ID "VisualAge"
+
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+
+#elif defined(__GNUC__)
+# define COMPILER_ID "GNU"
+
+#elif defined(_MSC_VER)
+# define COMPILER_ID "MSVC"
+
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
+ SHARC (21000) DSPs */
+# define COMPILER_ID "ADSP"
+
+/* IAR Systems compiler for embedded systems.
+ http://www.iar.com
+ Not supported yet by CMake
+#elif defined(__IAR_SYSTEMS_ICC__)
+# define COMPILER_ID "IAR" */
+
+/* sdcc, the small devices C compiler for embedded systems,
+ http://sdcc.sourceforge.net */
+#elif defined(SDCC)
+# define COMPILER_ID "SDCC"
+
+#elif defined(_COMPILER_VERSION)
+# define COMPILER_ID "MIPSpro"
+
+/* This compiler is either not known or is too old to define an
+ identification macro. Try to identify the platform and guess that
+ it is the native compiler. */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
+#elif defined(__hpux) || defined(__hpua)
+# define COMPILER_ID "HP"
+
+#else /* unknown compiler */
+# define COMPILER_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+ getting matched. Store it in a pointer rather than an array
+ because some compilers will just produce instructions to fill the
+ array rather than assigning a pointer to a static array. */
+char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+
+/* Identify known platforms by name. */
+#if defined(__linux) || defined(__linux__) || defined(linux)
+# define PLATFORM_ID "Linux"
+
+#elif defined(__CYGWIN__)
+# define PLATFORM_ID "Cygwin"
+
+#elif defined(__MINGW32__)
+# define PLATFORM_ID "MinGW"
+
+#elif defined(__APPLE__)
+# define PLATFORM_ID "Darwin"
+
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+# define PLATFORM_ID "Windows"
+
+#elif defined(__FreeBSD__) || defined(__FreeBSD)
+# define PLATFORM_ID "FreeBSD"
+
+#elif defined(__NetBSD__) || defined(__NetBSD)
+# define PLATFORM_ID "NetBSD"
+
+#elif defined(__OpenBSD__) || defined(__OPENBSD)
+# define PLATFORM_ID "OpenBSD"
+
+#elif defined(__sun) || defined(sun)
+# define PLATFORM_ID "SunOS"
+
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
+# define PLATFORM_ID "AIX"
+
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
+#elif defined(__hpux) || defined(__hpux__)
+# define PLATFORM_ID "HP-UX"
+
+#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
+# define PLATFORM_ID "Haiku"
+/* Haiku also defines __BEOS__ so we must
+ put it prior to the check for __BEOS__
+*/
+
+#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
+# define PLATFORM_ID "BeOS"
+
+#elif defined(__QNX__) || defined(__QNXNTO__)
+# define PLATFORM_ID "QNX"
+
+#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
+# define PLATFORM_ID "Tru64"
+
+#elif defined(__riscos) || defined(__riscos__)
+# define PLATFORM_ID "RISCos"
+
+#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
+# define PLATFORM_ID "SINIX"
+
+#elif defined(__UNIX_SV__)
+# define PLATFORM_ID "UNIX_SV"
+
+#elif defined(__bsdos__)
+# define PLATFORM_ID "BSDOS"
+
+#elif defined(_MPRAS) || defined(MPRAS)
+# define PLATFORM_ID "MP-RAS"
+
+#elif defined(__osf) || defined(__osf__)
+# define PLATFORM_ID "OSF1"
+
+#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
+# define PLATFORM_ID "SCO_SV"
+
+#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
+# define PLATFORM_ID "ULTRIX"
+
+#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
+# define PLATFORM_ID "Xenix"
+
+#else /* unknown platform */
+# define PLATFORM_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+ getting matched. Store it in a pointer rather than an array
+ because some compilers will just produce instructions to fill the
+ array rather than assigning a pointer to a static array. */
+char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+
+
+/*--------------------------------------------------------------------------*/
+
+#ifdef ID_VOID_MAIN
+void main() {}
+#else
+int main(int argc, char* argv[])
+{
+ int require = 0;
+ require += info_compiler[argc];
+ require += info_platform[argc];
+ (void)argv;
+ return require;
+}
+#endif
diff --git a/build/CMakeFiles/CompilerIdC/a.out b/build/CMakeFiles/CompilerIdC/a.out
new file mode 100755
index 0000000..b5538ec
--- /dev/null
+++ b/build/CMakeFiles/CompilerIdC/a.out
Binary files differ
diff --git a/build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp b/build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
new file mode 100644
index 0000000..f8c041f
--- /dev/null
+++ b/build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
@@ -0,0 +1,169 @@
+/* This source file must have a .cpp extension so that all C++ compilers
+ recognize the extension without flags. Borland does not know .cxx for
+ example. */
+#ifndef __cplusplus
+# error "A C compiler has been selected for C++."
+#endif
+
+#if defined(__COMO__)
+# define COMPILER_ID "Comeau"
+
+#elif defined(__INTEL_COMPILER) || defined(__ICC)
+# define COMPILER_ID "Intel"
+
+#elif defined(__BORLANDC__)
+# define COMPILER_ID "Borland"
+
+#elif defined(__WATCOMC__)
+# define COMPILER_ID "Watcom"
+
+#elif defined(__SUNPRO_CC)
+# define COMPILER_ID "SunPro"
+
+#elif defined(__HP_aCC)
+# define COMPILER_ID "HP"
+
+#elif defined(__DECCXX)
+# define COMPILER_ID "Compaq"
+
+#elif defined(__IBMCPP__)
+# define COMPILER_ID "VisualAge"
+
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+
+#elif defined(__GNUC__)
+# define COMPILER_ID "GNU"
+
+#elif defined(_MSC_VER)
+# define COMPILER_ID "MSVC"
+
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
+ SHARC (21000) DSPs */
+# define COMPILER_ID "ADSP"
+
+#elif defined(_COMPILER_VERSION)
+# define COMPILER_ID "MIPSpro"
+
+/* This compiler is either not known or is too old to define an
+ identification macro. Try to identify the platform and guess that
+ it is the native compiler. */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
+#elif defined(__hpux) || defined(__hpua)
+# define COMPILER_ID "HP"
+
+#else /* unknown compiler */
+# define COMPILER_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+ getting matched. Store it in a pointer rather than an array
+ because some compilers will just produce instructions to fill the
+ array rather than assigning a pointer to a static array. */
+char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+
+/* Identify known platforms by name. */
+#if defined(__linux) || defined(__linux__) || defined(linux)
+# define PLATFORM_ID "Linux"
+
+#elif defined(__CYGWIN__)
+# define PLATFORM_ID "Cygwin"
+
+#elif defined(__MINGW32__)
+# define PLATFORM_ID "MinGW"
+
+#elif defined(__APPLE__)
+# define PLATFORM_ID "Darwin"
+
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+# define PLATFORM_ID "Windows"
+
+#elif defined(__FreeBSD__) || defined(__FreeBSD)
+# define PLATFORM_ID "FreeBSD"
+
+#elif defined(__NetBSD__) || defined(__NetBSD)
+# define PLATFORM_ID "NetBSD"
+
+#elif defined(__OpenBSD__) || defined(__OPENBSD)
+# define PLATFORM_ID "OpenBSD"
+
+#elif defined(__sun) || defined(sun)
+# define PLATFORM_ID "SunOS"
+
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
+# define PLATFORM_ID "AIX"
+
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
+#elif defined(__hpux) || defined(__hpux__)
+# define PLATFORM_ID "HP-UX"
+
+#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
+# define PLATFORM_ID "Haiku"
+/* Haiku also defines __BEOS__ so we must
+ put it prior to the check for __BEOS__
+*/
+
+#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
+# define PLATFORM_ID "BeOS"
+
+#elif defined(__QNX__) || defined(__QNXNTO__)
+# define PLATFORM_ID "QNX"
+
+#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
+# define PLATFORM_ID "Tru64"
+
+#elif defined(__riscos) || defined(__riscos__)
+# define PLATFORM_ID "RISCos"
+
+#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
+# define PLATFORM_ID "SINIX"
+
+#elif defined(__UNIX_SV__)
+# define PLATFORM_ID "UNIX_SV"
+
+#elif defined(__bsdos__)
+# define PLATFORM_ID "BSDOS"
+
+#elif defined(_MPRAS) || defined(MPRAS)
+# define PLATFORM_ID "MP-RAS"
+
+#elif defined(__osf) || defined(__osf__)
+# define PLATFORM_ID "OSF1"
+
+#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
+# define PLATFORM_ID "SCO_SV"
+
+#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
+# define PLATFORM_ID "ULTRIX"
+
+#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
+# define PLATFORM_ID "Xenix"
+
+#else /* unknown platform */
+# define PLATFORM_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+ getting matched. Store it in a pointer rather than an array
+ because some compilers will just produce instructions to fill the
+ array rather than assigning a pointer to a static array. */
+char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+
+
+/*--------------------------------------------------------------------------*/
+
+int main(int argc, char* argv[])
+{
+ int require = 0;
+ require += info_compiler[argc];
+ require += info_platform[argc];
+ (void)argv;
+ return require;
+}
diff --git a/build/CMakeFiles/CompilerIdCXX/a.out b/build/CMakeFiles/CompilerIdCXX/a.out
new file mode 100755
index 0000000..8c694e9
--- /dev/null
+++ b/build/CMakeFiles/CompilerIdCXX/a.out
Binary files differ
diff --git a/build/CMakeFiles/Makefile.cmake b/build/CMakeFiles/Makefile.cmake
new file mode 100644
index 0000000..2208b1c
--- /dev/null
+++ b/build/CMakeFiles/Makefile.cmake
@@ -0,0 +1,45 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+# The generator used is:
+SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
+
+# The top level Makefile was generated from the following files:
+SET(CMAKE_MAKEFILE_DEPENDS
+ "CMakeCache.txt"
+ "../CMakeLists.txt"
+ "CMakeFiles/CMakeCCompiler.cmake"
+ "CMakeFiles/CMakeCXXCompiler.cmake"
+ "CMakeFiles/CMakeSystem.cmake"
+ "/opt/compiz/share/compiz/cmake/CompizBcop.cmake"
+ "/opt/compiz/share/compiz/cmake/CompizCommon.cmake"
+ "/opt/compiz/share/compiz/cmake/CompizDefaults.cmake"
+ "/opt/compiz/share/compiz/cmake/CompizGconf.cmake"
+ "/opt/compiz/share/compiz/cmake/CompizPlugin.cmake"
+ "/usr/share/cmake/Modules/CMakeCInformation.cmake"
+ "/usr/share/cmake/Modules/CMakeCXXInformation.cmake"
+ "/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
+ "/usr/share/cmake/Modules/CMakeGenericSystem.cmake"
+ "/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
+ "/usr/share/cmake/Modules/FindCompiz.cmake"
+ "/usr/share/cmake/Modules/FindPkgConfig.cmake"
+ "/usr/share/cmake/Modules/Platform/Linux.cmake"
+ "/usr/share/cmake/Modules/Platform/UnixPaths.cmake"
+ "/usr/share/cmake/Modules/Platform/gcc.cmake"
+ )
+
+# The corresponding makefile is:
+SET(CMAKE_MAKEFILE_OUTPUTS
+ "Makefile"
+ "CMakeFiles/cmake.check_cache"
+ "CMakeFiles/CMakeDirectoryInformation.cmake"
+ )
+
+# Byproducts of CMake generate step:
+SET(CMAKE_MAKEFILE_PRODUCTS
+ )
+
+# Dependency information for all targets:
+SET(CMAKE_DEPEND_INFO_FILES
+ "CMakeFiles/autoresize.dir/DependInfo.cmake"
+ )
diff --git a/build/CMakeFiles/Makefile2 b/build/CMakeFiles/Makefile2
new file mode 100644
index 0000000..b5b585f
--- /dev/null
+++ b/build/CMakeFiles/Makefile2
@@ -0,0 +1,99 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+# The main recursive all target
+all:
+.PHONY : all
+
+# The main recursive preinstall target
+preinstall:
+.PHONY : preinstall
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/smspillaz/Source/compiz/dev/plugins/autoresize
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/smspillaz/Source/compiz/dev/plugins/autoresize/build
+
+#=============================================================================
+# Target rules for target CMakeFiles/autoresize.dir
+
+# All Build rule for target.
+CMakeFiles/autoresize.dir/all:
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/depend
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/build
+ $(CMAKE_COMMAND) -E cmake_progress_report /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles 1
+ @echo "Built target autoresize"
+.PHONY : CMakeFiles/autoresize.dir/all
+
+# Include target in all.
+all: CMakeFiles/autoresize.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/autoresize.dir/rule: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles 1
+ $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/autoresize.dir/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles 0
+.PHONY : CMakeFiles/autoresize.dir/rule
+
+# Convenience name for target.
+autoresize: CMakeFiles/autoresize.dir/rule
+.PHONY : autoresize
+
+# clean rule for target.
+CMakeFiles/autoresize.dir/clean:
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/clean
+.PHONY : CMakeFiles/autoresize.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/autoresize.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+ $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/build/CMakeFiles/autoresize.dir/CXX.includecache b/build/CMakeFiles/autoresize.dir/CXX.includecache
new file mode 100644
index 0000000..4069dde
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/CXX.includecache
@@ -0,0 +1,12 @@
+#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform:
+
+/home/smspillaz/Source/compiz/dev/plugins/autoresize/src/autoresize.cpp
+snap.h
+/home/smspillaz/Source/compiz/dev/plugins/autoresize/src/snap.h
+
diff --git a/build/CMakeFiles/autoresize.dir/DependInfo.cmake b/build/CMakeFiles/autoresize.dir/DependInfo.cmake
new file mode 100644
index 0000000..cbaa4fa
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/DependInfo.cmake
@@ -0,0 +1,13 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+ "CXX"
+ )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_CXX
+ "/home/smspillaz/Source/compiz/dev/plugins/autoresize/src/autoresize.cpp" "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/autoresize.dir/src/autoresize.cpp.o"
+ )
+SET(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+ )
diff --git a/build/CMakeFiles/autoresize.dir/build.make b/build/CMakeFiles/autoresize.dir/build.make
new file mode 100644
index 0000000..e4573e6
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/build.make
@@ -0,0 +1,103 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/smspillaz/Source/compiz/dev/plugins/autoresize
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/smspillaz/Source/compiz/dev/plugins/autoresize/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/autoresize.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/autoresize.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/autoresize.dir/flags.make
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.o: CMakeFiles/autoresize.dir/flags.make
+CMakeFiles/autoresize.dir/src/autoresize.cpp.o: ../src/autoresize.cpp
+ $(CMAKE_COMMAND) -E cmake_progress_report /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles $(CMAKE_PROGRESS_1)
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/autoresize.dir/src/autoresize.cpp.o"
+ /usr/lib/ccache/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/autoresize.dir/src/autoresize.cpp.o -c /home/smspillaz/Source/compiz/dev/plugins/autoresize/src/autoresize.cpp
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/autoresize.dir/src/autoresize.cpp.i"
+ /usr/lib/ccache/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/smspillaz/Source/compiz/dev/plugins/autoresize/src/autoresize.cpp > CMakeFiles/autoresize.dir/src/autoresize.cpp.i
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/autoresize.dir/src/autoresize.cpp.s"
+ /usr/lib/ccache/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/smspillaz/Source/compiz/dev/plugins/autoresize/src/autoresize.cpp -o CMakeFiles/autoresize.dir/src/autoresize.cpp.s
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.o.requires:
+.PHONY : CMakeFiles/autoresize.dir/src/autoresize.cpp.o.requires
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.o.provides: CMakeFiles/autoresize.dir/src/autoresize.cpp.o.requires
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/src/autoresize.cpp.o.provides.build
+.PHONY : CMakeFiles/autoresize.dir/src/autoresize.cpp.o.provides
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.o.provides.build: CMakeFiles/autoresize.dir/src/autoresize.cpp.o
+.PHONY : CMakeFiles/autoresize.dir/src/autoresize.cpp.o.provides.build
+
+# Object files for target autoresize
+autoresize_OBJECTS = \
+"CMakeFiles/autoresize.dir/src/autoresize.cpp.o"
+
+# External object files for target autoresize
+autoresize_EXTERNAL_OBJECTS =
+
+libautoresize.so: CMakeFiles/autoresize.dir/src/autoresize.cpp.o
+libautoresize.so: CMakeFiles/autoresize.dir/build.make
+libautoresize.so: CMakeFiles/autoresize.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library libautoresize.so"
+ $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/autoresize.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/autoresize.dir/build: libautoresize.so
+.PHONY : CMakeFiles/autoresize.dir/build
+
+CMakeFiles/autoresize.dir/requires: CMakeFiles/autoresize.dir/src/autoresize.cpp.o.requires
+.PHONY : CMakeFiles/autoresize.dir/requires
+
+CMakeFiles/autoresize.dir/clean:
+ $(CMAKE_COMMAND) -P CMakeFiles/autoresize.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/autoresize.dir/clean
+
+CMakeFiles/autoresize.dir/depend:
+ cd /home/smspillaz/Source/compiz/dev/plugins/autoresize/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/smspillaz/Source/compiz/dev/plugins/autoresize /home/smspillaz/Source/compiz/dev/plugins/autoresize /home/smspillaz/Source/compiz/dev/plugins/autoresize/build /home/smspillaz/Source/compiz/dev/plugins/autoresize/build /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/autoresize.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/autoresize.dir/depend
+
diff --git a/build/CMakeFiles/autoresize.dir/cmake_clean.cmake b/build/CMakeFiles/autoresize.dir/cmake_clean.cmake
new file mode 100644
index 0000000..7475c51
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/cmake_clean.cmake
@@ -0,0 +1,11 @@
+FILE(REMOVE_RECURSE
+ "CMakeFiles/autoresize.dir/src/autoresize.cpp.o"
+ "libautoresize.pdb"
+ "libautoresize.a"
+ "libautoresize.so"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang CXX)
+ INCLUDE(CMakeFiles/autoresize.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/build/CMakeFiles/autoresize.dir/depend.internal b/build/CMakeFiles/autoresize.dir/depend.internal
new file mode 100644
index 0000000..75f202b
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/depend.internal
@@ -0,0 +1,5 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.o
+ /home/smspillaz/Source/compiz/dev/plugins/autoresize/src/autoresize.cpp
diff --git a/build/CMakeFiles/autoresize.dir/depend.make b/build/CMakeFiles/autoresize.dir/depend.make
new file mode 100644
index 0000000..07b5722
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/depend.make
@@ -0,0 +1,5 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+CMakeFiles/autoresize.dir/src/autoresize.cpp.o: ../src/autoresize.cpp
+
diff --git a/build/CMakeFiles/autoresize.dir/flags.make b/build/CMakeFiles/autoresize.dir/flags.make
new file mode 100644
index 0000000..a351383
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/flags.make
@@ -0,0 +1,10 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+# compile CXX with /usr/lib/ccache/c++
+CXX_FLAGS = -g -fPIC -I/home/smspillaz/Source/compiz/dev/plugins/autoresize/src -I/home/smspillaz/Source/compiz/dev/plugins/autoresize/include -I/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/generated -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/opt/compiz/include/compiz -DPREFIX='"/opt/compiz"' -DIMAGEDIR='"/opt/compiz/share/compiz"' -DDATADIR='"/opt/compiz/share/compiz"'
+
+CXX_DEFINES = -Dautoresize_EXPORTS
+
+# TARGET_FLAGS =
+
diff --git a/build/CMakeFiles/autoresize.dir/link.txt b/build/CMakeFiles/autoresize.dir/link.txt
new file mode 100644
index 0000000..7611c60
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/link.txt
@@ -0,0 +1 @@
+/usr/lib/ccache/c++ -fPIC -g -shared -Wl,-soname,libautoresize.so -o libautoresize.so CMakeFiles/autoresize.dir/src/autoresize.cpp.o -L/opt/compiz/lib/compiz -lXdamage -lXcomposite -lX11-xcb -lXrandr -lXinerama -lSM -lxslt -lz -lm -lstartup-notification-1 -lXfixes -lX11 -lxcb -lICE -lxml2 -Wl,-rpath,/opt/compiz/lib/compiz
diff --git a/build/CMakeFiles/autoresize.dir/progress.make b/build/CMakeFiles/autoresize.dir/progress.make
new file mode 100644
index 0000000..781c7de
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 1
+
diff --git a/build/CMakeFiles/autoresize.dir/src/autoresize.cpp.o b/build/CMakeFiles/autoresize.dir/src/autoresize.cpp.o
new file mode 100644
index 0000000..9aa4686
--- /dev/null
+++ b/build/CMakeFiles/autoresize.dir/src/autoresize.cpp.o
Binary files differ
diff --git a/build/CMakeFiles/cmake.check_cache b/build/CMakeFiles/cmake.check_cache
new file mode 100644
index 0000000..3dccd73
--- /dev/null
+++ b/build/CMakeFiles/cmake.check_cache
@@ -0,0 +1 @@
+# This file is generated by cmake for dependency checking of the CMakeCache.txt file
diff --git a/build/CMakeFiles/progress.make b/build/CMakeFiles/progress.make
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/build/CMakeFiles/progress.make
@@ -0,0 +1 @@
+1
diff --git a/build/Makefile b/build/Makefile
new file mode 100644
index 0000000..85d87be
--- /dev/null
+++ b/build/Makefile
@@ -0,0 +1,208 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = /usr/bin/ccmake
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/smspillaz/Source/compiz/dev/plugins/autoresize
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/smspillaz/Source/compiz/dev/plugins/autoresize/build
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
+ /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target install
+install: preinstall
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+ /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+ /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+ /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# Special rule for the target install/strip
+install/strip: preinstall
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+ /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+ /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# The main all target
+all: cmake_check_build_system
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles/progress.make
+ $(MAKE) -f CMakeFiles/Makefile2 all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/smspillaz/Source/compiz/dev/plugins/autoresize/build/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+ $(MAKE) -f CMakeFiles/Makefile2 clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+ $(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+ $(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+ $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+#=============================================================================
+# Target rules for targets named autoresize
+
+# Build rule for target.
+autoresize: cmake_check_build_system
+ $(MAKE) -f CMakeFiles/Makefile2 autoresize
+.PHONY : autoresize
+
+# fast build rule for target.
+autoresize/fast:
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/build
+.PHONY : autoresize/fast
+
+src/autoresize.o: src/autoresize.cpp.o
+.PHONY : src/autoresize.o
+
+# target to build an object file
+src/autoresize.cpp.o:
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/src/autoresize.cpp.o
+.PHONY : src/autoresize.cpp.o
+
+src/autoresize.i: src/autoresize.cpp.i
+.PHONY : src/autoresize.i
+
+# target to preprocess a source file
+src/autoresize.cpp.i:
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/src/autoresize.cpp.i
+.PHONY : src/autoresize.cpp.i
+
+src/autoresize.s: src/autoresize.cpp.s
+.PHONY : src/autoresize.s
+
+# target to generate assembly for a file
+src/autoresize.cpp.s:
+ $(MAKE) -f CMakeFiles/autoresize.dir/build.make CMakeFiles/autoresize.dir/src/autoresize.cpp.s
+.PHONY : src/autoresize.cpp.s
+
+# Help Target
+help:
+ @echo "The following are some of the valid targets for this Makefile:"
+ @echo "... all (the default if no target is provided)"
+ @echo "... clean"
+ @echo "... depend"
+ @echo "... autoresize"
+ @echo "... edit_cache"
+ @echo "... install"
+ @echo "... install/local"
+ @echo "... install/strip"
+ @echo "... list_install_components"
+ @echo "... rebuild_cache"
+ @echo "... src/autoresize.o"
+ @echo "... src/autoresize.i"
+ @echo "... src/autoresize.s"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+ $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/build/cmake_install.cmake b/build/cmake_install.cmake
new file mode 100644
index 0000000..510e56b
--- /dev/null
+++ b/build/cmake_install.cmake
@@ -0,0 +1,53 @@
+# Install script for directory: /home/smspillaz/Source/compiz/dev/plugins/autoresize
+
+# Set the install prefix
+IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ SET(CMAKE_INSTALL_PREFIX "/opt/compiz")
+ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ IF(BUILD_TYPE)
+ STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ ELSE(BUILD_TYPE)
+ SET(CMAKE_INSTALL_CONFIG_NAME "debug")
+ ENDIF(BUILD_TYPE)
+ MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+
+# Set the component getting installed.
+IF(NOT CMAKE_INSTALL_COMPONENT)
+ IF(COMPONENT)
+ MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
+ SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ ELSE(COMPONENT)
+ SET(CMAKE_INSTALL_COMPONENT)
+ ENDIF(COMPONENT)
+ENDIF(NOT CMAKE_INSTALL_COMPONENT)
+
+# Install shared libraries without execute permission?
+IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+ SET(CMAKE_INSTALL_SO_NO_EXE "0")
+ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+
+IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+ FILE(INSTALL DESTINATION "/opt/compiz/lib/compiz" TYPE SHARED_LIBRARY FILES "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/libautoresize.so")
+ IF(EXISTS "$ENV{DESTDIR}/opt/compiz/lib/compiz/libautoresize.so")
+ IF(CMAKE_INSTALL_DO_STRIP)
+ EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/opt/compiz/lib/compiz/libautoresize.so")
+ ENDIF(CMAKE_INSTALL_DO_STRIP)
+ ENDIF(EXISTS "$ENV{DESTDIR}/opt/compiz/lib/compiz/libautoresize.so")
+ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+
+IF(CMAKE_INSTALL_COMPONENT)
+ SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
+ELSE(CMAKE_INSTALL_COMPONENT)
+ SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
+ENDIF(CMAKE_INSTALL_COMPONENT)
+
+FILE(WRITE "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/${CMAKE_INSTALL_MANIFEST}" "")
+FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
+ FILE(APPEND "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
+ENDFOREACH(file)
diff --git a/build/cmake_uninstall.cmake b/build/cmake_uninstall.cmake
new file mode 100644
index 0000000..f30d079
--- /dev/null
+++ b/build/cmake_uninstall.cmake
@@ -0,0 +1,22 @@
+if (NOT EXISTS "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/install_manifest.txt")
+ message (FATAL_ERROR "Cannot find install manifest: \"/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/install_manifest.txt\"")
+endif (NOT EXISTS "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/install_manifest.txt")
+
+file (READ "/home/smspillaz/Source/compiz/dev/plugins/autoresize/build/install_manifest.txt" files)
+string (REGEX REPLACE "\n" ";" files "${files}")
+foreach (file ${files})
+ message (STATUS "Uninstalling \"${file}\"")
+ if (EXISTS "${file}")
+ exec_program(
+ "/usr/bin/cmake" ARGS "-E remove \"${file}\""
+ OUTPUT_VARIABLE rm_out
+ RETURN_VALUE rm_retval
+ )
+ if ("${rm_retval}" STREQUAL 0)
+ else ("${rm_retval}" STREQUAL 0)
+ message (FATAL_ERROR "Problem when removing \"${file}\"")
+ endif ("${rm_retval}" STREQUAL 0)
+ else (EXISTS "${file}")
+ message (STATUS "File \"${file}\" does not exist.")
+ endif (EXISTS "${file}")
+endforeach (file)
diff --git a/build/libautoresize.so b/build/libautoresize.so
new file mode 100755
index 0000000..0040e53
--- /dev/null
+++ b/build/libautoresize.so
Binary files differ
diff --git a/src/autoresize.cpp b/src/autoresize.cpp
new file mode 100644
index 0000000..921cf3e
--- /dev/null
+++ b/src/autoresize.cpp
@@ -0,0 +1,101 @@
+/*
+ * Compiz autoresize plugin
+ * Author : Sam "SmSpillaz" Spilsbury
+ * Email : smspillaz@gmail.com
+ *
+ * Copyright (C) 2009 Sam Spilsbury
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+
+#include "autoresize.h"
+#include <X11/extensions/Xrandr.h>
+
+
+COMPIZ_PLUGIN_20090315 (autoresize, AutoresizePluginVTable);
+
+// helper functions
+
+void
+AutoresizeScreen::resizeAllWindows ()
+{
+ foreach (CompWindow *window, screen->windows ())
+ {
+ if (!window->isMapped ())
+ continue;
+
+ if (window->state () & CompWindowStateSkipTaskbarMask)
+ continue;
+
+ if (window->state () & CompWindowStateSkipPagerMask)
+ continue;
+
+ if (!window->managed ())
+ continue;
+
+ if (window->x () < 0)
+ window->move (-1 * window->x (), 0, true);
+ if (window->y () < 0)
+ window->move (0, -1 * window->y (), true);
+ if (window->x () + window->width () > mWidth)
+ window->resize (window->x (), window->y (),
+ window->width () - (mWidth -
+ (window->x () + window->width ())),
+ window->height ());
+ if (window->y () + window->height () > mHeight)
+ window->resize (window->x (), window->y (),
+ window->width (), window->height () - (mHeight -
+ (window->y () + window->height ())));
+ }
+}
+
+
+// Check if the screen was modified in any way
+void
+AutoresizeScreen::handleEvent (XEvent *event)
+{
+ if (event->type == screen->randrEvent ())
+ {
+ XRRScreenChangeNotifyEvent *rEvent = (XRRScreenChangeNotifyEvent *) event;
+
+ if (mWidth != rEvent->width || mHeight != rEvent->height)
+ {
+ mWidth = rEvent->width;
+ mHeight = rEvent->height;
+ resizeAllWindows ();
+ }
+ }
+
+ screen->handleEvent (event);
+}
+
+AutoresizeScreen::AutoresizeScreen (CompScreen *screen) :
+ PluginClassHandler <AutoresizeScreen, CompScreen> (screen),
+ mWidth (screen->width ()),
+ mHeight (screen->height ())
+{
+ ScreenInterface::setHandler (screen);
+}
+
+bool
+AutoresizePluginVTable::init ()
+{
+ if (!CompPlugin::checkPluginABI ("core", CORE_ABIVERSION))
+ return false;
+
+ return true;
+}
+
diff --git a/src/autoresize.cpp~ b/src/autoresize.cpp~
new file mode 100644
index 0000000..8b01675
--- /dev/null
+++ b/src/autoresize.cpp~
@@ -0,0 +1,101 @@
+/*
+ * Compiz autoresize plugin
+ * Author : Sam "SmSpillaz" Spilsbury
+ * Email : smspillaz@gmail.com
+ *
+ * Copyright (C) 2009 Sam Spilsbury
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+
+#include "autoresize.h"
+#include <X11/extensions/Xrandr.h>
+
+
+COMPIZ_PLUGIN_20090315 (autoresize, AutoresizePluginVTable);
+
+// helper functions
+
+void
+AutoresizeScreen::resizeAllWindows ()
+{
+ foreach (CompWindow *window, screen->windows ())
+ {
+ if (!window->isMapped ())
+ continue;
+
+ if (window->state () & CompWindowStateSkipTaskbarMask)
+ continue;
+
+ if (window->state () & CompWindowStateSkipPagerMask)
+ continue;
+
+ if (!window->managed ())
+ continue;
+
+ if (window->x () < 0)
+ window->move (-1 * window->x (), 0);
+ if (window->y () < 0)
+ window->move (0, -1 * window->y ());
+ if (window->x () + window->width () > mWidth)
+ window->resize (window->x (), window->y (),
+ window->width () - (mWidth -
+ (window->x () + window->width ())),
+ window->height ());
+ if (window->y () + window->height () > mHeight)
+ window->resize (window->x (), window->y (),
+ window->width (), window->height () - (mHeight -
+ (window->y () + window->height ())));
+ }
+}
+
+
+// Check if the screen was modified in any way
+void
+AutoresizeScreen::handleEvent (XEvent *event)
+{
+ if (event->type == screen->randrEvent ())
+ {
+ XRRScreenChangeNotifyEvent *rEvent = (XRRScreenChangeNotifyEvent *) event;
+
+ if (mWidth != rEvent->width || mHeight != rEvent->height)
+ {
+ mWidth = rEvent->width;
+ mHeight = rEvent->height;
+ resizeAllWindows ();
+ }
+ }
+
+ screen->handleEvent (event);
+}
+
+AutoresizeScreen::AutoresizeScreen (CompScreen *screen) :
+ PluginClassHandler <AutoresizeScreen, CompScreen> (screen),
+ mWidth (screen->width ()),
+ mHeight (screen->height ())
+{
+ ScreenInterface::setHandler (screen);
+}
+
+bool
+AutoresizePluginVTable::init ()
+{
+ if (!CompPlugin::checkPluginABI ("core", CORE_ABIVERSION))
+ return false;
+
+ return true;
+}
+
diff --git a/src/autoresize.h b/src/autoresize.h
new file mode 100644
index 0000000..ea354f5
--- /dev/null
+++ b/src/autoresize.h
@@ -0,0 +1,54 @@
+/*
+ * Compiz autoresize plugin
+ * Author : Sam "SmSpillaz" Spilsbury
+ * Email : smspillaz@gmail.com
+ *
+ * Copyright (C) 2009 Sam Spilsbury
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include <core/core.h>
+#include <core/pluginclasshandler.h>
+
+class AutoresizeScreen :
+ public ScreenInterface,
+ public PluginClassHandler <AutoresizeScreen, CompScreen>
+{
+ public:
+ AutoresizeScreen (CompScreen *s);
+
+ void resizeAllWindows ();
+
+ void handleEvent (XEvent *event);
+
+ private:
+ int mWidth;
+ int mHeight;
+};
+
+#define AUTORESIZE_SCREEN(s) \
+ AutoresizeScreen *as = AutoresizeScreen::get (s)
+
+#define AUTORESIZE_WINDOW(w) \
+ AutoresizeWindow *aw = AutoresizeWindow::get (w)
+
+class AutoresizePluginVTable :
+ public CompPlugin::VTableForScreen <AutoresizeScreen>
+{
+ public:
+ bool init ();
+};
+
diff --git a/src/autoresize.h~ b/src/autoresize.h~
new file mode 100644
index 0000000..b7830f6
--- /dev/null
+++ b/src/autoresize.h~
@@ -0,0 +1,52 @@
+/*
+ * Compiz autoresize plugin
+ * Author : Sam "SmSpillaz" Spilsbury
+ * Email : smspillaz@gmail.com
+ *
+ * Copyright (C) 2009 Sam Spilsbury
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include <core/core.h>
+#include <core/pluginclasshandler.h>
+
+class AutoresizeScreen :
+ public ScreenInterface,
+ public PluginClassHandler <AutoresizeScreen, CompScreen>
+{
+ public:
+ AutoresizeScreen (CompScreen *s);
+
+ void handleEvent (XEvent *event);
+
+ private:
+ int mWidth;
+ int mHeight;
+};
+
+#define AUTORESIZE_SCREEN(s) \
+ AutoresizeScreen *as = AutoresizeScreen::get (s)
+
+#define AUTORESIZE_WINDOW(w) \
+ AutoresizeWindow *aw = AutoresizeWindow::get (w)
+
+class AutoresizePluginVTable :
+ public CompPlugin::VTableForScreen <AutoresizeScreen>
+{
+ public:
+ bool init ();
+};
+