Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 839559 Details for
Bug 884221
x11-base/xorg-server-21.1.4[xephyr] Fix mouse and keyboard input
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Xephyr patch
xorg-server-21.1.4-fix-xephyr.patch (text/plain), 1.38 KB, created by
marius.spix
on 2022-12-03 23:03:42 UTC
(
hide
)
Description:
Xephyr patch
Filename:
MIME Type:
Creator:
marius.spix
Created:
2022-12-03 23:03:42 UTC
Size:
1.38 KB
patch
obsolete
>diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c >index 020461db2..09cd28cb3 100644 >--- a/hw/kdrive/ephyr/ephyrinit.c >+++ b/hw/kdrive/ephyr/ephyrinit.c >@@ -70,25 +70,23 @@ InitInput(int argc, char **argv) > KdKeyboardInfo *ki; > KdPointerInfo *pi; > >- if (!SeatId) { >- KdAddKeyboardDriver(&EphyrKeyboardDriver); >- KdAddPointerDriver(&EphyrMouseDriver); >- >- if (!kdHasKbd) { >- ki = KdNewKeyboard(); >- if (!ki) >- FatalError("Couldn't create Xephyr keyboard\n"); >- ki->driver = &EphyrKeyboardDriver; >- KdAddKeyboard(ki); >- } >+ KdAddKeyboardDriver(&EphyrKeyboardDriver); >+ KdAddPointerDriver(&EphyrMouseDriver); >+ >+ if (!kdHasKbd) { >+ ki = KdNewKeyboard(); >+ if (!ki) >+ FatalError("Couldn't create Xephyr keyboard\n"); >+ ki->driver = &EphyrKeyboardDriver; >+ KdAddKeyboard(ki); >+ } > >- if (!kdHasPointer) { >- pi = KdNewPointer(); >- if (!pi) >- FatalError("Couldn't create Xephyr pointer\n"); >- pi->driver = &EphyrMouseDriver; >- KdAddPointer(pi); >- } >+ if (!kdHasPointer) { >+ pi = KdNewPointer(); >+ if (!pi) >+ FatalError("Couldn't create Xephyr pointer\n"); >+ pi->driver = &EphyrMouseDriver; >+ KdAddPointer(pi); > } > > KdInitInput();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 884221
: 839559