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

FIX(client): Disable broken shortcuts on Wayland #5307

Merged

Conversation

Krzmbrzl
Copy link
Member

Our global shortcut system currently doesn't work when using Wayland
(#5257). Therefore, this
commit makes sure that the global shortcut system is not even started
on such systems. Furthermore, it informs the user about the shortcuts
being disabled.

Fixes #5303

Checks

The EnvUtils class only served as a namespace (containing static
functions). Thus, it makes more sense to convert EnvUtils into an actual
namespace.
This new function allows to check whether Wayland is being used as the
display manager.
Our global shortcut system currently doesn't work when using Wayland
(mumble-voip#5257). Therefore, this
commit makes sure that the global shortcut system is not even started
on such systems. Furthermore, it informs the user about the shortcuts
being disabled.

Fixes mumble-voip#5303
@Krzmbrzl Krzmbrzl force-pushed the feat-disable-shortcuts-on-wayland branch from c268492 to 7a0227a Compare November 10, 2021 09:06
@Krzmbrzl Krzmbrzl merged commit e54798c into mumble-voip:master Nov 11, 2021
Krzmbrzl added a commit to Krzmbrzl/mumble that referenced this pull request May 18, 2022
In mumble-voip#5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes mumble-voip#5454
Krzmbrzl added a commit to Krzmbrzl/mumble that referenced this pull request May 23, 2022
In mumble-voip#5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes mumble-voip#5454
Krzmbrzl added a commit to Krzmbrzl/mumble that referenced this pull request Jul 31, 2022
In mumble-voip#5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes mumble-voip#5454
Krzmbrzl added a commit that referenced this pull request Jul 31, 2022
In #5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes #5454
Krzmbrzl added a commit to Krzmbrzl/mumble that referenced this pull request Aug 10, 2022
In mumble-voip#5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes mumble-voip#5454

(cherry picked from commit 49cc697)
Krzmbrzl added a commit to Krzmbrzl/mumble that referenced this pull request Aug 10, 2022
In mumble-voip#5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes mumble-voip#5454

(cherry picked from commit 49cc697)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable XInput when running on Wayland
1 participant