Skip to content

inputMethod: Keep Capabilite.FOCUS before context.focus_in/focus_out

Takao Fujiwara requested to merge fujiwarat/gnome-shell:ibus-focus-in into main

If context.focus_out() is called after context.set_capabilities(0), The FocusOut D-Bus method is ignored because of no FOCUS capability. If context.focus_out() is called before context.set_capabilities(0), The 0 capability is set to the next focused context and the FocusIn D-Bus method is ignored because of no FOCUS capability. So context.set_capabilities(0) should not be called.

Closes: #6062 (closed) Closes: #6518 (closed)

Edited by Takao Fujiwara

Merge request reports

Loading