|
|
@@ -141,8 +141,6 @@ main(int argc, char *argv[]) |
|
|
|
getresources(); |
|
|
|
setupdc(); |
|
|
|
setupgeom(); |
|
|
|
if (override_redirect) |
|
|
|
setupgrab(); |
|
|
|
|
|
|
|
/* generate menus and recalculate them */ |
|
|
|
parsestdin(); |
|
|
@@ -151,6 +149,10 @@ main(int argc, char *argv[]) |
|
|
|
calcscreengeom(); |
|
|
|
calcmenu(rootmenu); |
|
|
|
|
|
|
|
/* grab mouse and keyboard */ |
|
|
|
if (override_redirect) |
|
|
|
setupgrab(); |
|
|
|
|
|
|
|
/* map root menu */ |
|
|
|
currmenu = rootmenu; |
|
|
|
XMapWindow(dpy, rootmenu->win); |
|
|
|