From d5a8c15a6aa5f3bbca619266c5b37f13bc03f602 Mon Sep 17 00:00:00 2001 From: Luis Lavaire Date: Thu, 2 Jan 2025 00:36:04 -0600 Subject: [PATCH] That is more accurate. --- README.md | 4 ++-- mwm.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 946f517..a79fcaf 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ The window manager for the true minimalist: This is the smallest, actually usable window manager I know about. Even TinyWM is twice as large. However, it doesn't let you launch programs, or -switch between windows. `mwm` does. +assign key bindings. `mwm` does. --- @@ -27,7 +27,7 @@ _`xterm`, with the `micro` editor, editing `mwm`'s source._ ## Why? Most software today is crappy. Do you really need all the bells and whistles? -Generally, you don't. You need to get the job done. +Probably not. We are in dire need of software that is hackable, fun, small, malleable, and that you can wrap your head around, because: is it truly free software if, due diff --git a/mwm.c b/mwm.c index 9869ff7..e8cf603 100644 --- a/mwm.c +++ b/mwm.c @@ -13,11 +13,11 @@ int main() { grab("n", "q", "e"); while (!XNextEvent (d, &e)) { - on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, e.xconfigure.width, e.xconfigure.height)); - on(MapRequest, XMapWindow(d, e.xmaprequest.window); - XSetInputFocus(d, e.xmaprequest.window, 2, 0)); - on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0)) - map("q", XKillClient(d, e.xkey.subwindow)) - map("e", system("dmenu_run &"))); + on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, e.xconfigure.width, e.xconfigure.height)); + on(MapRequest, XMapWindow(d, e.xmaprequest.window); + XSetInputFocus(d, e.xmaprequest.window, 2, 0)); + on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0)) + map("q", XKillClient(d, e.xkey.subwindow)) + map("e", system("dmenu_run &"))); } }