summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/inputzoom.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-31 16:28:43 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-31 16:28:43 +0000
commit5e8e5e6fd2288e0cdda6abb12cc24c9edc4c1d51 (patch)
tree14db9952ce1d4aa6e2b9efb45fea6a277c0e04fe /beryl-plugins/src/inputzoom.c
parent80a151214f99b3293edd49720dff1e7a88451d39 (diff)
downloadmarex-dev-5e8e5e6fd2288e0cdda6abb12cc24c9edc4c1d51.tar.gz
marex-dev-5e8e5e6fd2288e0cdda6abb12cc24c9edc4c1d51.tar.bz2
input-zoom:
* disable option to hide normal cursor * disable option to draw scaled cursor * this is all because of bugs in XFixes! git-svn-id: file:///beryl/trunk@3485 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/inputzoom.c')
-rw-r--r--beryl-plugins/src/inputzoom.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/beryl-plugins/src/inputzoom.c b/beryl-plugins/src/inputzoom.c
index a12b1a9..e5d155d 100644
--- a/beryl-plugins/src/inputzoom.c
+++ b/beryl-plugins/src/inputzoom.c
@@ -64,7 +64,7 @@
#define ZOOM_FILTER_LINEAR_DEFAULT TRUE
#define ZOOM_HIDE_NORMAL_CURSOR_DEFAULT FALSE
-#define ZOOM_SHOW_SCALED_CURSOR_DEFAULT TRUE
+#define ZOOM_SHOW_SCALED_CURSOR_DEFAULT FALSE
#define ZOOM_OUT_ON_CUBE_DEFAULT FALSE
@@ -92,11 +92,11 @@ typedef struct _ZoomDisplay
#define ZOOM_SCREEN_OPTION_MAX_FACTOR 2
#define ZOOM_SCREEN_OPTION_TIMESTEP 3
#define ZOOM_SCREEN_OPTION_FILTER_LINEAR 4
-#define ZOOM_SCREEN_OPTION_HIDE_NORMAL_CURSOR 5
-#define ZOOM_SCREEN_OPTION_SHOW_SCALED_CURSOR 6
-#define ZOOM_SCREEN_OPTION_MOUSE_UPDATE 7
-#define ZOOM_SCREEN_OPTION_OUT_ON_CUBE 8
-#define ZOOM_SCREEN_OPTION_NUM 9
+#define ZOOM_SCREEN_OPTION_MOUSE_UPDATE 5
+#define ZOOM_SCREEN_OPTION_OUT_ON_CUBE 6
+#define ZOOM_SCREEN_OPTION_NUM 7
+//#define ZOOM_SCREEN_OPTION_HIDE_NORMAL_CURSOR 5
+//#define ZOOM_SCREEN_OPTION_SHOW_SCALED_CURSOR 6
typedef struct _CursorTexture
@@ -289,7 +289,7 @@ zoomSetScreenOption(CompScreen * screen, char *name, CompOptionValue * value)
case ZOOM_SCREEN_OPTION_FILTER_LINEAR:
if (compSetBoolOption(o, value))
return TRUE;
- case ZOOM_SCREEN_OPTION_HIDE_NORMAL_CURSOR:
+/* case ZOOM_SCREEN_OPTION_HIDE_NORMAL_CURSOR:
if (compSetBoolOption(o, value))
{
zs->hideNormal = o->value.b;
@@ -302,7 +302,7 @@ zoomSetScreenOption(CompScreen * screen, char *name, CompOptionValue * value)
zs->showScaled = o->value.b;
return TRUE;
}
- break;
+ break;*/
case ZOOM_SCREEN_OPTION_MOUSE_UPDATE:
if (compSetIntOption(o, value))
{
@@ -395,7 +395,7 @@ static void zoomScreenInitOptions(ZoomScreen * zs)
o->type = CompOptionTypeBool;
o->value.b = ZOOM_FILTER_LINEAR_DEFAULT;
- o = &zs->opt[ZOOM_SCREEN_OPTION_HIDE_NORMAL_CURSOR];
+/* o = &zs->opt[ZOOM_SCREEN_OPTION_HIDE_NORMAL_CURSOR];
o->advanced = False;
o->name = "hide_normal";
o->group = N_("Misc. options");
@@ -415,7 +415,7 @@ static void zoomScreenInitOptions(ZoomScreen * zs)
o->shortDesc = N_("Show scaled cursor");
o->longDesc = N_("Show scaled cursor during zoom");
o->type = CompOptionTypeBool;
- o->value.b = ZOOM_SHOW_SCALED_CURSOR_DEFAULT;
+ o->value.b = ZOOM_SHOW_SCALED_CURSOR_DEFAULT;*/
o = &zs->opt[ZOOM_SCREEN_OPTION_MOUSE_UPDATE];
o->advanced = True;