From 090ce35749142dfeb86c0f43098dcd3b2b6de6a5 Mon Sep 17 00:00:00 2001 From: Alexander Leonhardt Date: Sat, 5 Sep 2026 23:03:50 +0200 Subject: Added minimal changes to the used terminal emulator and configuration --- simple_scratchpad.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'simple_scratchpad.c') 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; -} -- cgit