sowm

An itsy bitsy floating window manager (220~ sloc!).
git clone git://mfeller.io/sowm.git
Log | Files | Refs | README | LICENSE

commit 8e3c9da8200d6b833903b5c1cd4d5a96e0fbbfae
parent de4a08ace09a948d3f92bc999a835934b4593896
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu, 17 Oct 2019 08:53:59 +0300

sowm: Remove unneeded call to ws_go on start

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

diff --git a/sowm.c b/sowm.c @@ -54,7 +54,7 @@ static void ws_sel(int i); static client *list = {0}; static desktop ws_list[10]; -static int ws, sw, sh, wx, wy; +static int ws = 1, sw, sh, wx, wy; static unsigned int ww, wh; static Display *d; @@ -565,8 +565,6 @@ int main(void) { key_grab(); - ws_go((Arg){.i = 1}); - XSelectInput(d, root, SubstructureNotifyMask| SubstructureRedirectMask|EnterWindowMask|LeaveWindowMask);