Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884221 - x11-base/xorg-server-21.1.4[xephyr] Fix mouse and keyboard input
Summary: x11-base/xorg-server-21.1.4[xephyr] Fix mouse and keyboard input
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://gitlab.freedesktop.org/xorg/x...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 23:03 UTC by marius.spix
Modified: 2023-10-25 15:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Xephyr patch (xorg-server-21.1.4-fix-xephyr.patch,1.38 KB, patch)
2022-12-03 23:03 UTC, marius.spix
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marius.spix 2022-12-03 23:03:42 UTC
Created attachment 839559 [details, diff]
Xephyr patch

Mouse and keyboard input in Xephyr (nested Xorg server) is broken in x11-base/xorg-server-21.1.3.

This can be tested by running "lightdm --test-mode" as a normal user (requires x11-misc/lightdm).

This is fixed in upstart here: https://gitlab.freedesktop.org/xorg/xserver/-/commit/4c03b67d334b05b814239420776f2fdd4c4a98ac

I attached a patch for the issue and can confirm that this patch works.
Comment 1 marius.spix 2023-05-13 23:11:06 UTC
This is still broken in xorg-server-21.1.8 and not merged into upstream’s server-21.1 branch. Applying the patch works, however.

See:
https://gitlab.freedesktop.org/xorg/xserver/-/blob/server-21.1-branch/hw/kdrive/ephyr/ephyrinit.c
https://gitlab.freedesktop.org/xorg/xserver/-/commit/4c03b67d334b05b814239420776f2fdd4c4a98ac
Comment 2 Matt Turner gentoo-dev 2023-10-25 15:38:34 UTC
I've made a backport MR: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1192
Comment 3 Larry the Git Cow gentoo-dev 2023-10-25 15:41:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4db39b0d72f93d5c46898cb262d8c5349542cc

commit 9b4db39b0d72f93d5c46898cb262d8c5349542cc
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-10-25 15:29:54 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-10-25 15:41:30 +0000

    x11-base/xorg-server: Version bump to 21.1.9
    
    Bug: https://bugs.gentoo.org/916254
    Closes: https://bugs.gentoo.org/884221
    Closes: https://bugs.gentoo.org/909092
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xorg-server/Manifest                      |   1 +
 ...1.9-xephyr-Don-t-check-for-SeatId-anymore.patch |  66 +++++++
 x11-base/xorg-server/xorg-server-21.1.9.ebuild     | 194 +++++++++++++++++++++
 3 files changed, 261 insertions(+)