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;
|
areas = 10;
|
||||||
wm_name = NULL;
|
wm_name = NULL;
|
||||||
|
|
||||||
|
// Connect to the Xserver and initialize scr
|
||||||
|
xconn();
|
||||||
|
|
||||||
while ((ch = getopt(argc, argv, "hg:bdf:a:pu:B:F:n:")) != -1) {
|
while ((ch = getopt(argc, argv, "hg:bdf:a:pu:B:F:n:")) != -1) {
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'h':
|
case 'h':
|
||||||
|
@ -1297,9 +1300,6 @@ main (int argc, char **argv)
|
||||||
bx = geom_v[2];
|
bx = geom_v[2];
|
||||||
by = geom_v[3];
|
by = geom_v[3];
|
||||||
|
|
||||||
// Connect to the Xserver and initialize scr
|
|
||||||
xconn();
|
|
||||||
|
|
||||||
// Do the heavy lifting
|
// Do the heavy lifting
|
||||||
init(wm_name);
|
init(wm_name);
|
||||||
// Get the fd to Xserver
|
// Get the fd to Xserver
|
||||||
|
|
Loading…
Reference in New Issue
Block a user