Blob Blame Raw
From 7b28999752dad36b47387c826e0973b7c360e5da Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Sun, 16 Oct 2016 22:04:10 +0900
Subject: [PATCH] splodesic: avoid using "depth" name not to make X internal
 collision

It seems that "depth" name collides with X internal.
Change splodesic internal name to avoid this.
---
 hacks/glx/splodesic.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hacks/glx/splodesic.c b/hacks/glx/splodesic.c
index 8bf2fc9..c199b74 100644
--- a/hacks/glx/splodesic.c
+++ b/hacks/glx/splodesic.c
@@ -75,7 +75,7 @@ static XrmOptionDescRec opts[] = {
   { "-spin",   ".spin",   XrmoptionNoArg, "True" },
   { "+spin",   ".spin",   XrmoptionNoArg, "False" },
   { "-speed",  ".speed",  XrmoptionSepArg, 0 },
-  { "-depth",  ".depth",  XrmoptionSepArg, 0 },
+  { "-depth",  ".freq",  XrmoptionSepArg, 0 },
   { "-wander", ".wander", XrmoptionNoArg, "True" },
   { "+wander", ".wander", XrmoptionNoArg, "False" }
 };
@@ -84,7 +84,7 @@ static argtype vars[] = {
   {&do_spin,   "spin",   "Spin",   DEF_SPIN,   t_Bool},
   {&do_wander, "wander", "Wander", DEF_WANDER, t_Bool},
   {&speed,     "speed",  "Speed",  DEF_SPEED,  t_Float},
-  {&depth_arg, "depth",  "Depth",  DEF_DEPTH,  t_Int},
+  {&depth_arg, "freq",  "Depth",  DEF_DEPTH,  t_Int},
 };
 
 ENTRYPOINT ModeSpecOpt splodesic_opts = {countof(opts), opts, countof(vars), vars, NULL};
-- 
2.9.3