After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728679 - keyboard: drop hard X dependency
keyboard: drop hard X dependency
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
unspecified
Other All
: Normal normal
: ---
Assigned To: Rui Matos
Control-Center Maintainers
wayland
Depends on:
Blocks: wayland
 
 
Reported: 2014-04-21 19:35 UTC by Matthias Clasen
Modified: 2014-04-22 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keyboard: drop hard X dependency (2.48 KB, patch)
2014-04-21 19:35 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2014-04-21 19:35:17 UTC
The code to listen for window manager changes only makes sense under
X, so don't use it under Wayland. In that case, we can just assume
that we are under GNOME shell when we find a wayland display.
Comment 1 Matthias Clasen 2014-04-21 19:35:21 UTC
Created attachment 274835 [details] [review]
keyboard: drop hard X dependency
Comment 2 Rui Matos 2014-04-22 12:56:03 UTC
Review of attachment 274835 [details] [review]:

Ok
Comment 3 Matthias Clasen 2014-04-22 21:28:28 UTC
Attachment 274835 [details] pushed as cd498a0 - keyboard: drop hard X dependency