diff options
| author | Alexander Leonhardt <equinox.salexander@gmail.com> | |
|---|---|---|
| 2026-09-05 23:03:50 +0200 | ||
| committer | Alexander Leonhardt <equinox.salexander@gmail.com> | |
| 2026-09-05 23:03:50 +0200 | ||
| commit | 090ce35749142dfeb86c0f43098dcd3b2b6de6a5 (patch) | |
| tree | 61df7890324877eb08046c68e6dadffb0ccaa387 /simple_scratchpad.c | |
| parent | 3a57e326867d7d7c1babb9bcaf9d70e7f66c1863 (diff) | |
| download | dwl-090ce35749142dfeb86c0f43098dcd3b2b6de6a5.tar.gz dwl-090ce35749142dfeb86c0f43098dcd3b2b6de6a5.tar.bz2 dwl-090ce35749142dfeb86c0f43098dcd3b2b6de6a5.zip | |
Added minimal changes to the used terminal emulator and configuration
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; -} |