summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/wobbly.c
diff options
context:
space:
mode:
authorprofox <profox@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-03 02:44:42 +0000
committerprofox <profox@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-03 02:44:42 +0000
commitbdb9faadec80b039787bc53fa374c48b55088312 (patch)
tree910efcf8f5fab5a5a860365d1a9ea88f92c3c7d0 /beryl-plugins/src/wobbly.c
parente1bde4bf9b5e69ca0fac4bd356b4d54fa64b91c1 (diff)
downloadmarex-dev-bdb9faadec80b039787bc53fa374c48b55088312.tar.gz
marex-dev-bdb9faadec80b039787bc53fa374c48b55088312.tar.bz2
Renamed "do not wobble on move" to "move effect" in order to be consistent.
git-svn-id: file:///beryl/trunk@980 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/wobbly.c')
-rw-r--r--beryl-plugins/src/wobbly.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/beryl-plugins/src/wobbly.c b/beryl-plugins/src/wobbly.c
index 6ad3be6..db01b20 100644
--- a/beryl-plugins/src/wobbly.c
+++ b/beryl-plugins/src/wobbly.c
@@ -207,8 +207,8 @@ static int ModMask[] = {
#define WOBBLY_SNAP_MODIFIERS_DEFAULT ShiftMask
-#define WOBBLY_MAXIMIZE_EFFECT_DEFAULT TRUE
-#define WOBBLY_NOT_ON_WINDOW_MOVE_DEFAULT FALSE
+#define WOBBLY_MAXIMIZE_EFFECT_DEFAULT TRUE
+#define WOBBLY_MOVE_EFFECT_DEFAULT TRUE
static int displayPrivateIndex;
@@ -241,7 +241,7 @@ typedef struct _WobblyDisplay
#define WOBBLY_SCREEN_OPTION_GRAB_WINDOW_TYPE 8
#define WOBBLY_SCREEN_OPTION_MOVE_WINDOW_TYPE 9
#define WOBBLY_SCREEN_OPTION_MAXIMIZE_EFFECT 10
-#define WOBBLY_SCREEN_OPTION_NOT_ON_WINDOW_MOVE 11
+#define WOBBLY_SCREEN_OPTION_MOVE_EFFECT 11
#define WOBBLY_SCREEN_OPTION_MAP_FRICTION 12
#define WOBBLY_SCREEN_OPTION_MAP_SPRING_K 13
#define WOBBLY_SCREEN_OPTION_GRAB_FRICTION 14
@@ -445,7 +445,7 @@ wobblySetScreenOption (CompScreen * screen,
}
break;
case WOBBLY_SCREEN_OPTION_MAXIMIZE_EFFECT:
- case WOBBLY_SCREEN_OPTION_NOT_ON_WINDOW_MOVE:
+ case WOBBLY_SCREEN_OPTION_MOVE_EFFECT:
case WOBBLY_SCREEN_OPTION_USE_RELEASE:
case WOBBLY_SCREEN_OPTION_URGENT_EFFECT:
case WOBBLY_SCREEN_OPTION_URGENT_IN:
@@ -680,13 +680,13 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->type = CompOptionTypeBool;
o->value.b = WOBBLY_MAXIMIZE_EFFECT_DEFAULT;
- o = &ws->opt[WOBBLY_SCREEN_OPTION_NOT_ON_WINDOW_MOVE];
- o->name = "not_on_window_move";
- o->shortDesc = N_("Don't wobble on window move");
+ o = &ws->opt[WOBBLY_SCREEN_OPTION_MOVE_EFFECT];
+ o->name = "move_effect";
+ o->shortDesc = N_("Move effect");
o->longDesc =
- N_("Don't wobble when moving windows");
+ N_("Wobble windows when you move them");
o->type = CompOptionTypeBool;
- o->value.b = WOBBLY_NOT_ON_WINDOW_MOVE_DEFAULT;
+ o->value.b = WOBBLY_MOVE_EFFECT_DEFAULT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_BELL_FRICTION];
o->name = "visual_bell_friction";
@@ -3241,7 +3241,7 @@ wobblyWindowGrabNotify (CompWindow * w,
ws->grabMask = mask;
ws->grabWindow = w;
- if (!ws->opt[WOBBLY_SCREEN_OPTION_NOT_ON_WINDOW_MOVE].value.b)
+ if (ws->opt[WOBBLY_SCREEN_OPTION_MOVE_EFFECT].value.b)
{
if ((mask & CompWindowGrabButtonMask) &&
(ws->moveWMask & w->type) && isWobblyWin (w))