summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-22 18:57:17 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-22 18:57:17 +0000
commit91f0a40dcd3e943505b18eb8f30f5c3a87027de5 (patch)
tree54e791f55e6f965db4a830f77e765cde9c5d64b0 /beryl-plugins/src/cube.c
parent8e256339706ef80d28aac797ad083e0ac413b55f (diff)
downloadmarex-dev-91f0a40dcd3e943505b18eb8f30f5c3a87027de5.tar.gz
marex-dev-91f0a40dcd3e943505b18eb8f30f5c3a87027de5.tar.bz2
beryl-plugins: cube/splash: disable binding at the right position
git-svn-id: file:///beryl/trunk@3013 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 26aef14..726adb2 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -87,10 +87,10 @@ static char *cubeImages[] = {
#define CUBE_SCALE_IMAGE_TOP_DEFAULT FALSE
#define CUBE_SCALE_IMAGE_BOTTOM_DEFAULT FALSE
-#define CUBE_NEXT_KEY_DEFAULT "None"
+#define CUBE_NEXT_KEY_DEFAULT "Space"
#define CUBE_NEXT_MODIFIERS_DEFAULT 0
-#define CUBE_PREV_KEY_DEFAULT "None"
+#define CUBE_PREV_KEY_DEFAULT "BackSpace"
#define CUBE_PREV_MODIFIERS_DEFAULT 0
#define CUBE_SKYDOME_DEFAULT FALSE
@@ -1915,7 +1915,7 @@ cubePaintTransformedScreen(CompScreen * s,
{
glRotatef(sAttrib->vRotate / 5.0f + 90.0f, 1.0f, 0.0f, 0.0f);
-
+
if (cs->invert != 1)
glRotatef(-
(sAttrib->xRotate -
@@ -2732,7 +2732,8 @@ static void cubeDisplayInitOptions(CubeDisplay * cd)
o->value.action.state = CompActionStateInitEdge;
o->value.action.state |= CompActionStateInitKey;
o->value.action.state |= CompActionStateInitButton;
- o->value.action.type = CompBindingTypeKey;
+ o->value.action.type = 0;
+ //o->value.action.type |= CompBindingTypeKey;
o->value.action.key.modifiers = CUBE_NEXT_MODIFIERS_DEFAULT;
o->value.action.key.keysym = XStringToKeysym(CUBE_NEXT_KEY_DEFAULT);
@@ -2752,7 +2753,8 @@ static void cubeDisplayInitOptions(CubeDisplay * cd)
o->value.action.state = CompActionStateInitEdge;
o->value.action.state |= CompActionStateInitKey;
o->value.action.state |= CompActionStateInitButton;
- o->value.action.type = CompBindingTypeKey;
+ o->value.action.type = 0;
+ //o->value.action.type |= CompBindingTypeKey;
o->value.action.key.modifiers = CUBE_PREV_MODIFIERS_DEFAULT;
o->value.action.key.keysym = XStringToKeysym(CUBE_PREV_KEY_DEFAULT);
}