Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make sure all test X clients connect to the Xvfb instance #172

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

ppentchev
Copy link

Export the DISPLAY variable immediately after starting Xvfb so that any X clients started after that, including the recently added xdotool, will be sure to use it. Without this change, setting DISPLAY (without exporting it) in alttab_simple_cycle() does not work when that variable is not already exported, e.g. when running in an isolated environment like a container or a chroot environment.

Export the DISPLAY variable immediately after starting Xvfb so that
any X clients started after that, including the recently added xdotool,
will be sure to use it. Without this change, setting DISPLAY (without
exporting it) in alttab_simple_cycle() does not work when that variable
is not already exported, e.g. when running in an isolated environment
like a container or a chroot environment.
@sagb sagb merged commit 2c4c750 into sagb:master Jun 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants