summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/resize.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-21 01:15:04 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-21 01:15:04 +0000
commit8821030a538bb3219d1a617161c9dd16c648110a (patch)
tree1c1a79781ce6b5902ab3cc3371f8e516a58da47d /beryl-plugins/src/resize.c
parentfe3dc224d501d312d259a5e2f2af4e60eded28cb (diff)
downloadmarex-dev-8821030a538bb3219d1a617161c9dd16c648110a.tar.gz
marex-dev-8821030a538bb3219d1a617161c9dd16c648110a.tar.bz2
add advanced bool to option struct
update all plugins to set it on their options use it in libbs use it in bsm git-svn-id: file:///beryl/trunk@1969 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/resize.c')
-rw-r--r--beryl-plugins/src/resize.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/beryl-plugins/src/resize.c b/beryl-plugins/src/resize.c
index a1404e0..ed7bbdd 100644
--- a/beryl-plugins/src/resize.c
+++ b/beryl-plugins/src/resize.c
@@ -1177,7 +1177,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
CompOption *o;
o = &rd->opt[RESIZE_DISPLAY_OPTION_INITIATE];
- o->name = "initiate";
+ o->advanced=False;
+o->name = "initiate";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1200,7 +1201,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
XStringToKeysym (RESIZE_INITIATE_KEY_DEFAULT);
o = &rd->opt[RESIZE_DISPLAY_OPTION_WARP_POINTER];
- o->name = "warp_pointer";
+ o->advanced=False;
+o->name = "warp_pointer";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1213,7 +1215,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
o->value.b = RESIZE_WARP_POINTER_DEFAULT;
o = &rd->opt[RESIZE_DISPLAY_OPTION_OPACITY];
- o->name = "opacity";
+ o->advanced=False;
+o->name = "opacity";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1225,7 +1228,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
o->rest.i.max = RESIZE_OPACITY_MAX;
o = &rd->opt[RESIZE_DISPLAY_OPTION_OPACIFY_MIN_OPACITY];
- o->name = "opacify_min_opacity";
+ o->advanced=False;
+o->name = "opacify_min_opacity";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1238,7 +1242,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
o->rest.i.max = RESIZE_OPACIFY_MIN_OPACITY_MAX;
o = &rd->opt[RESIZE_DISPLAY_OPTION_SYNC_WINDOW];
- o->name = "sync_window";
+ o->advanced=False;
+o->name = "sync_window";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1250,7 +1255,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
o->value.b = RESIZE_SYNC_WINDOW_DEFAULT;
o = &rd->opt[RESIZE_DISPLAY_OPTION_MODE];
- o->name = "resize_mode";
+ o->advanced=False;
+o->name = "resize_mode";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1265,7 +1271,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
o->rest.s.nString = NUM_RESIZE_MODES;
o = &rd->opt[RESIZE_DISPLAY_OPTION_BORDER_COLOR];
- o->name = "border_color";
+ o->advanced=False;
+o->name = "border_color";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1278,7 +1285,8 @@ resizeDisplayInitOptions (ResizeDisplay * rd)
o->value.c[3] = 0x9fff;
o = &rd->opt[RESIZE_DISPLAY_OPTION_FILL_COLOR];
- o->name = "fill_color";
+ o->advanced=False;
+o->name = "fill_color";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";