xephyr: Fix regeneration
I had said:
commit c42311a9d7
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Mar 24 15:58:54 2017 -0400
kdrive: Remove KdOsFuncs
Only the Init slot was used, and Xephyr can just as easily do
that initialization directly.
And I'd've been right, but I forgot to make that initialization only
happen on startup (i.e. when serverGeneration == 1).
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
0ff2fb128b
commit
0848390d51
|
@ -374,11 +374,13 @@ OsVendorInit(void)
|
||||||
if (hostx_want_host_cursor())
|
if (hostx_want_host_cursor())
|
||||||
ephyrFuncs.initCursor = &ephyrCursorInit;
|
ephyrFuncs.initCursor = &ephyrCursorInit;
|
||||||
|
|
||||||
|
if (serverGeneration == 1) {
|
||||||
if (!KdCardInfoLast()) {
|
if (!KdCardInfoLast()) {
|
||||||
processScreenArg("640x480", NULL);
|
processScreenArg("640x480", NULL);
|
||||||
}
|
}
|
||||||
hostx_init();
|
hostx_init();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
KdCardFuncs ephyrFuncs = {
|
KdCardFuncs ephyrFuncs = {
|
||||||
ephyrCardInit, /* cardinit */
|
ephyrCardInit, /* cardinit */
|
||||||
|
|
Loading…
Reference in New Issue