mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-24 01:40:36 +00:00
Addition of console input after removal of core backend input that is not
on screen 0 can cause a segfault. Fix by preventing reinitialization of
detached inputs. When Xinerama is active and screen 0 is detached,
pixmaps for XGetImage must be obtained from another screen.
This commit is contained in:
parent
0addd0d499
commit
c042647278
2 changed files with 45 additions and 4 deletions
|
|
@ -227,14 +227,14 @@ static void dmxAdjustCursorBoundaries(void)
|
|||
dmxConnectionBlockCallback();
|
||||
for (i = 0; i < dmxNumInputs; i++) {
|
||||
DMXInputInfo *dmxInput = &dmxInputs[i];
|
||||
dmxInputReInit(dmxInput);
|
||||
if (!dmxInput->detached) dmxInputReInit(dmxInput);
|
||||
}
|
||||
|
||||
dmxCheckCursor();
|
||||
|
||||
for (i = 0; i < dmxNumInputs; i++) {
|
||||
DMXInputInfo *dmxInput = &dmxInputs[i];
|
||||
dmxInputLateReInit(dmxInput);
|
||||
if (!dmxInput->detached) dmxInputLateReInit(dmxInput);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue