diff --git a/include/compiz-core.h b/include/compiz-core.h index 9c8314c..88e947e 100644 --- a/include/compiz-core.h +++ b/include/compiz-core.h @@ -28,7 +28,7 @@ #include -#define CORE_ABIVERSION 20080130 +#define CORE_ABIVERSION 20080209 #include #include @@ -1711,10 +1711,11 @@ disableTexture (CompScreen *screen, #define COMP_SCREEN_OPTION_NUMBER_OF_DESKTOPS 9 #define COMP_SCREEN_OPTION_DETECT_OUTPUTS 10 #define COMP_SCREEN_OPTION_OUTPUTS 11 -#define COMP_SCREEN_OPTION_FOCUS_PREVENTION_MATCH 12 -#define COMP_SCREEN_OPTION_OPACITY_MATCHES 13 -#define COMP_SCREEN_OPTION_OPACITY_VALUES 14 -#define COMP_SCREEN_OPTION_NUM 15 +#define COMP_SCREEN_OPTION_FOCUS_PREVENTION_LEVEL 12 +#define COMP_SCREEN_OPTION_FOCUS_PREVENTION_MATCH 13 +#define COMP_SCREEN_OPTION_OPACITY_MATCHES 14 +#define COMP_SCREEN_OPTION_OPACITY_VALUES 15 +#define COMP_SCREEN_OPTION_NUM 16 #ifndef GLX_EXT_texture_from_pixmap #define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 @@ -1737,6 +1738,14 @@ disableTexture (CompScreen *screen, #define GLX_FRONT_LEFT_EXT 0x20DE #endif +typedef enum +{ + FocusPreventionOff = 0, + FocusPreventionLow, + FocusPreventionHigh, + FocusPreventionVeryHigh +} CompFSPLevel; + typedef void (*FuncPtr) (void); typedef FuncPtr (*GLXGetProcAddressProc) (const GLubyte *procName); diff --git a/metadata/core.xml.in b/metadata/core.xml.in index 0e46aa5..109a5e9 100644 --- a/metadata/core.xml.in +++ b/metadata/core.xml.in @@ -406,6 +406,29 @@ 640x480+0+0 +