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 Dec 1, 2023
1 parent d6d24e8 commit 45de35b
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 45de35b

Please sign in to comment.