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

Detect Wayland or X11 displays before choosing text UI #835

Merged
merged 2 commits into from
Dec 8, 2022

Conversation

mxmgh
Copy link
Contributor

@mxmgh mxmgh commented Nov 17, 2022

Otherwise, Unison will not start its graphical interface when running in a pure-Wayland environment.

Otherwise, Unison will not start its graphical interface when
running in a pure-Wayland environment.
src/uigtk3.ml Outdated Show resolved Hide resolved
@gdt
Copy link
Collaborator

gdt commented Nov 17, 2022

I am conceptually ok with this and will let you two resolve the ocaml style issues.

In the glorious future, we'll have unison and unison-gui, which I think won't do this, but in the meantime this seems to extend in the right way.

@gdt
Copy link
Collaborator

gdt commented Dec 2, 2022

It looks like this needs != converted to <> at least. @mxmgh are you ok with the suggested change? If you so you push the commit suggestion button, or redo the branch yourself.

Co-authored-by: Tõivo Leedjärv <69477666+tleedjarv@users.noreply.github.com>
@tleedjarv
Copy link
Contributor

I can't test this but the code looks fine. Squash the commits (no need to keep the Co-authored-by tag), or @gdt you can also do it when merging.

@gdt gdt merged commit a32d8c9 into bcpierce00:master Dec 8, 2022
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.

3 participants