summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/sxwm-dev.md30
-rw-r--r--src/sxwm.c1
2 files changed, 30 insertions, 1 deletions
diff --git a/docs/sxwm-dev.md b/docs/sxwm-dev.md
new file mode 100644
index 0000000..bc1087f
--- /dev/null
+++ b/docs/sxwm-dev.md
@@ -0,0 +1,30 @@
+# sxwm developer docs
+
+# Table of Contents
+1. [sxwm.c](#sxwmc)
+ 1. [Headers](#headers)
+ 2. [Functions](#functions)
+
+
+## sxwm.c
+
+### Headers
+
+| Header | Job |
+|------------------------------|----------------------------------------------------------------------------------------------|
+| `X11/X.h` | Basic definitions |
+| `limits.h` | Defines constants related to data type limits |
+| `signal.h` | Signal handling functions and definitions |
+| `unistd.h` | Standard symbolic constants and types; includes functions for POSIX operating system API. |
+| `X11/Xatom.h` | Definitions for X Window System atom types. |
+| `X11/XKBlib.h` | Keyboard interface definitions for X Window System. |
+| `X11/Xlib.h` | Core X Window System protocol and routines for creating windows. |
+| `X11/Xproto.h` | Protocol definitions for X Window System communication. |
+| `X11/Xutil.h` | Utility functions for X Window System, including graphics operations. |
+| `X11/extensions/Xinerama.h` | Xinerama extension definitions for multi-monitor setups. |
+| `X11/Xcursor/Xcursor.h` | Cursor handling functions and definitions for X Window System. |
+| `linux/limits.h` | Linux-specific limits for various data types. |
+| `defs.h` | Custom definitions and macros specific to the application or project. |
+| `parser.h` | Declarations for functions that parse data or configuration files. |
+
+### Functions
diff --git a/src/sxwm.c b/src/sxwm.c
index 19f06ea..bb9ad5c 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include <string.h>
#include <strings.h>
-#include <sys/wait.h>
#include <unistd.h>
#include <X11/Xatom.h>