mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-11-25 20:38:39 +00:00
docs: update
This commit is contained in:
1 parent
9fb183c11a
commit
51bb53f6c3
2 files changed
+8
-8
No files matched your search
@@ -18,7 +18,7 @@
|
||||
#include <signal.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#define TABLENGTH(X) (sizeof(X)/sizeof(*X))
|
||||
#define TABLENGTH(X) (sizeof(X)/sizeof(*X))
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
typedef union {
|
||||
@@ -71,7 +71,7 @@ static void select_desktop(int i);
|
||||
static void send_kill_signal(Window w);
|
||||
static void setup();
|
||||
static void sigchld(int unused);
|
||||
static void sh(const Arg arg);
|
||||
static void run(const Arg arg);
|
||||
static void update_current();
|
||||
|
||||
#include "config.h"
|
||||
@@ -435,7 +435,7 @@ void sigchld(int unused) {
|
||||
while(0 < waitpid(-1, NULL, WNOHANG));
|
||||
}
|
||||
|
||||
void sh(const Arg arg) {
|
||||
void run(const Arg arg) {
|
||||
if (fork() == 0) {
|
||||
if (fork() == 0) {
|
||||
if (dis) close(ConnectionNumber(dis));
|
||||
|
||||
Reference in new issue
Block a user