Files
gtk/gdk
Руслан Ижбулатов d26c11f099 GDK W32: Support switching input modules at runtime
This leverages the normal input module switching mechanism in GTK
by making it think that the gtk-im-module setting changed.
The backend returns gtk-im-module value as "ime" if W32
IME API says that an IME is in use. Otherwise it returns
and empty string - this still triggers an input module
loading code, which, not being able to load the desired module
(which is and empty string), falls back to looking at current
keyboard layout.

Paired with the code that signals gtk-im-module change on keyboard layout
switches, this is sufficient to make GTK capable of loading appropriate
input modules at runtime. At least, the kinds of modules that specify
languages for which they are loaded automatically by default, and the
IME module.

Loading other kinds of input modules might still work via specifying
the gtk-im-module setting in gtk ini file, but doing so will likely
make GTK incapable of loading the IME input module that is used
for Korean, Chinese and Japanese (and some other languages).

Until someone figures out a way to actually change gtk-im-module
setting on Windows at runtime with meaningful values, the behaviour
introduced by this commit seems like a sufficient workaround.
2018-10-06 12:44:24 +00:00
..
2017-04-03 13:29:59 -04:00
2018-06-20 20:02:01 +02:00
2017-05-22 14:26:32 +01:00
2018-05-29 20:27:05 -04:00
2016-08-23 21:01:44 +02:00
2016-06-09 17:45:40 +01:00
2016-05-17 14:16:39 -04:00
2015-05-08 13:34:25 -04:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-05-08 15:34:28 +02:00
2017-03-13 03:52:06 -04:00
2018-05-27 18:10:16 +01:00
2016-06-09 17:45:40 +01:00
2014-11-06 12:24:43 +01:00
2017-12-25 23:00:30 -05:00
2017-12-25 23:00:30 -05:00
2016-05-08 15:34:28 +02:00
2016-04-27 23:18:16 -04:00
2016-04-18 11:46:58 -04:00
2014-08-30 00:53:21 -04:00
2015-10-03 22:26:27 -04:00
2014-06-11 21:55:15 -04:00
2017-11-13 23:42:51 +01:00
2016-10-28 06:04:58 +02:00
2016-10-28 06:04:58 +02:00