From 8e3c9da8200d6b833903b5c1cd4d5a96e0fbbfae Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 17 Oct 2019 08:53:59 +0300 Subject: [PATCH] sowm: Remove unneeded call to ws_go on start --- sowm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sowm.c b/sowm.c index 1e694eb..6a77d22 100644 --- 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);