Prevent load_font calls before connecting to X
This commit is contained in:
parent
3b5baa93b1
commit
2c0f57c584
|
@ -1246,6 +1246,9 @@ main (int argc, char **argv)
|
|||
areas = 10;
|
||||
wm_name = NULL;
|
||||
|
||||
// Connect to the Xserver and initialize scr
|
||||
xconn();
|
||||
|
||||
while ((ch = getopt(argc, argv, "hg:bdf:a:pu:B:F:n:")) != -1) {
|
||||
switch (ch) {
|
||||
case 'h':
|
||||
|
@ -1297,9 +1300,6 @@ main (int argc, char **argv)
|
|||
bx = geom_v[2];
|
||||
by = geom_v[3];
|
||||
|
||||
// Connect to the Xserver and initialize scr
|
||||
xconn();
|
||||
|
||||
// Do the heavy lifting
|
||||
init(wm_name);
|
||||
// Get the fd to Xserver
|
||||
|
|
Loading…
Reference in New Issue
Block a user