mfwm

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

commit 121f17d63232c215e9679d504d55e2d6c4aa23f8
parent 30afbfe63107dbc03b8fc174905858b45fa1bbc3
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun, 13 Oct 2019 18:32:59 +0300

docs: update

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

diff --git a/sowm.c b/sowm.c @@ -117,7 +117,7 @@ void notify_motion(XEvent *e) { void key_grab() { KeyCode code; - for(int i=0; i < sizeof(keys)/sizeof(*keys); ++i) + for (int i=0; i < sizeof(keys)/sizeof(*keys); ++i) if ((code = XKeysymToKeycode(dis, keys[i].keysym))) XGrabKey(dis, code, keys[i].mod, root, True, GrabModeAsync, GrabModeAsync); @@ -127,7 +127,7 @@ void key_press(XEvent *e) { XKeyEvent ke = e->xkey; KeySym keysym = XKeycodeToKeysym(dis,ke.keycode,0); - for(int i=0; i < sizeof(keys)/sizeof(*keys); ++i) + for (int i=0; i < sizeof(keys)/sizeof(*keys); ++i) if (keys[i].keysym == keysym && keys[i].mod == ke.state) keys[i].function(keys[i].arg); } @@ -353,7 +353,7 @@ int main(void) { key_grab(); - for(int i=0; i < sizeof(ws_list)/sizeof(*ws_list); ++i) + for (int i=0; i < sizeof(ws_list)/sizeof(*ws_list); ++i) ws_list[i].list = 0; const Arg arg = {.i = 1};