Skip to content

Commit

Permalink
#4449 let ibus set the layout
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Feb 5, 2025
1 parent 1c7cd35 commit b312f45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion xpra/client/gtk3/tray_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,8 @@ def set_layout(item) -> None:
kh.update()
kh.send_layout()
log.info(f"{msg}: {kh.layout_str()}")
kh.send_keymap()
if not backend:
kh.send_keymap()

l = self.checkitem(str(title), set_layout, active)
l.set_draw_as_radio(True)
Expand Down
1 change: 0 additions & 1 deletion xpra/server/mixins/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ def _process_layout_changed(self, proto, packet: PacketType) -> None:
ibuslog(f"ibus set engine to {name!r}")
layout, variant, options = get_engine_layout_spec()
ibuslog(f"ibus layout: {layout} {variant=}, {options=}")
return
if ss.set_layout(layout, variant, options):
self.set_keymap(ss, force=True)

Expand Down

0 comments on commit b312f45

Please sign in to comment.