mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-11-24 20:32:03 +00:00
sowm: Remove unneeded call to ws_go on start
This commit is contained in:
1 file changed
+1
-3
@@ -54,7 +54,7 @@ static void ws_sel(int i);
|
|||||||
|
|
||||||
static client *list = {0};
|
static client *list = {0};
|
||||||
static desktop ws_list[10];
|
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 unsigned int ww, wh;
|
||||||
|
|
||||||
static Display *d;
|
static Display *d;
|
||||||
@@ -565,8 +565,6 @@ int main(void) {
|
|||||||
|
|
||||||
key_grab();
|
key_grab();
|
||||||
|
|
||||||
ws_go((Arg){.i = 1});
|
|
||||||
|
|
||||||
XSelectInput(d, root, SubstructureNotifyMask|
|
XSelectInput(d, root, SubstructureNotifyMask|
|
||||||
SubstructureRedirectMask|EnterWindowMask|LeaveWindowMask);
|
SubstructureRedirectMask|EnterWindowMask|LeaveWindowMask);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user