Skip to content

Commit

Permalink
Disable xklwrapper when running on Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
M4rtinK committed Nov 30, 2023
1 parent 7ce4e66 commit f191bb4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyanaconda/ui/gui/spokes/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,19 @@
#

import gi
gi.require_version("Gkbd", "3.0")
#gi.require_version("Gkbd", "3.0")
gi.require_version("Gtk", "3.0")

from gi.repository import Gkbd, Gtk
#from gi.repository import Gkbd, Gtk
from gi.repository import Gtk
import locale as locale_mod

from pyanaconda.ui.gui import GUIObject
from pyanaconda.ui.gui.spokes import NormalSpoke
from pyanaconda.ui.categories.localization import LocalizationCategory
from pyanaconda.ui.gui.utils import gtk_call_once, escape_markup, gtk_batch_map, timed_action
from pyanaconda.ui.gui.utils import override_cell_property
from pyanaconda.ui.gui.xkl_wrapper import XklWrapper, XklWrapperError
#from pyanaconda.ui.gui.xkl_wrapper import XklWrapper, XklWrapperError
from pyanaconda import keyboard
from pyanaconda import flags
from pyanaconda.core.i18n import _, N_, CN_
Expand Down

0 comments on commit f191bb4

Please sign in to comment.