diff options
Diffstat (limited to 'simple_scratchpad.c')
| -rw-r--r-- | simple_scratchpad.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/simple_scratchpad.c b/simple_scratchpad.c index 271e72e..ee012e2 100644 --- a/simple_scratchpad.c +++ b/simple_scratchpad.c @@ -32,6 +32,7 @@ void draw_scratchpad(void) { } } + void addscratchpad(const Arg *arg) { @@ -87,15 +88,3 @@ removescratchpad(const Arg *arg) } } - -void -setscratchpad(const Arg *arg) -{ - int idx = arg->i; - - if (idx < 0) - idx = 0; - else if (idx >= SCRATCHPAD_COUNT) - idx = SCRATCHPAD_COUNT - 1; - scratchpad_sel = idx; -} |