diff options
author | Your Name <you@example.com> | 2020-10-22 10:46:54 +0100 |
---|---|---|
committer | Your Name <you@example.com> | 2020-10-22 10:46:54 +0100 |
commit | 931f2c6e1bc5ba90495e3396a58aaa98b59cd11b (patch) | |
tree | fc5847ab525fccce2591772144abe02ce2dc10d7 /dwm.c | |
parent | better way to solve the previous commit's bug (diff) | |
download | dwm-931f2c6e1bc5ba90495e3396a58aaa98b59cd11b.tar.gz dwm-931f2c6e1bc5ba90495e3396a58aaa98b59cd11b.tar.bz2 dwm-931f2c6e1bc5ba90495e3396a58aaa98b59cd11b.zip |
changed name to fsignal
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c index 24a598e..8d945d5 100644 --- a/dwm.c +++ b/dwm.c @@ -1073,7 +1073,7 @@ int fake_signal(void) { char fsignal[256]; - char indicator[9] = "dsignal:"; + char indicator[9] = "fsignal:"; char str_sig[50]; char param[16]; int i, len_str_sig, n, paramn; @@ -1101,7 +1101,10 @@ fake_signal(void) // Check if a signal was found, and if so handle it for (i = 0; i < LENGTH(signals); i++) if (strcmp(str_sig, signals[i].sig) == 0 && signals[i].func) + { signals[i].func(&(arg)); + break; + } // A fake signal was sent return 1; |