mfwm

A tiling fork of dylanaraps sowm.
git clone git://depsterr.com/git/mfwm
Log | Files | Refs | README | LICENSE

commit ed92a1e7eec9e562c1f7ad61c3d48d9eb8a4504d
parent b0f8c600473b5f69a48bd6e8450e8491c1199397
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 15 Oct 2019 14:30:48 +0300

docs: update

Diffstat:
Msowm.c | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/sowm.c b/sowm.c @@ -7,7 +7,17 @@ #include <signal.h> #include <unistd.h> +/* + This iterates over the current desktop's + window list and is inserted where needed. +*/ #define WIN (c=list;c;c=c->next) + +/* + This sets focus to the given window. It + could very well be a function but I feel + it belongs here. +*/ #define FOC(W) XSetInputFocus(d, W, RevertToParent, CurrentTime); typedef union { @@ -67,6 +77,10 @@ static XWindowAttributes attr; #include "config.h" +/* + The list of events to subscribe to and the paired functions + to call on an event. +*/ static void (*events[LASTEvent])(XEvent *e) = { [ButtonPress] = button_press, [ButtonRelease] = button_release,