Avoid the crash when gkbd works with ibus
When the system is using ibus, ibus will register all engines with the "default" layout, gkbd couldn't draw it and crash. So change the condition of layout drawing is works. Thanks for the review!
When the system is using ibus, ibus will register all engines with the "default" layout, gkbd couldn't draw it and crash. So change the condition of layout drawing is works. Thanks for the review!