sowm: Remove unneeded call to ws_go on start

This commit is contained in:
Dylan Araps 2019-10-17 08:53:59 +03:00
parent de4a08ace0
commit 8e3c9da820
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 3 deletions

4
sowm.c
View File

@ -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);