move opening display to readstdin(), so .Xresources can be read if
protocol is set to wayland but wayland isn't actually used
This commit is contained in:
parent
29365cd10e
commit
ceb86bed13
|
@ -64,6 +64,12 @@ void readargs(int argc, char *argv[]) {
|
|||
}
|
||||
}
|
||||
|
||||
if (protocol) {
|
||||
if (connect_display(&state)) {
|
||||
protocol = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// init/read xrdb
|
||||
if (xresources && !protocol) {
|
||||
#if USEXRESOURCES
|
||||
|
|
Loading…
Reference in a new issue