gnome-shell/js/misc
Carlos Garnacho 23bfd08b3c misc: Toggle IBus OSK capability on OSK visibility
Newer versions of IBus (> 1.5.26) have the IBUS_CAP_OSK capability
which can be used to hint the active IM about an OSK driving input as
opposed to a physical keyboard. This may be used by IMs to tweak their
behavior to suit OSKs better.

Add the GNOME Shell side handling for this capability, and toggle it
on whenever the OSK is visible.

Since this is a far too new enum value and we don't want such new
IBus dependency, this change plays fast and loose with JS guarantees,
since a logical OR with an undefined value results in the other operand
unmodified it will work for older versions where the capability does not
exist and thus we want nothing extra enabled.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2415>
2022-08-10 10:14:40 +00:00
..
config.js.in config: Check runtime dependencies at runtime 2022-05-20 12:00:22 +00:00
dbusUtils.js dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
extensionUtils.js extensionUtils: Add utility for setting the current extension 2022-07-06 13:40:44 -04:00
fileUtils.js dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
gnomeSession.js endSessionDialog: Only show logout inhibiting apps 2021-02-24 15:31:03 +00:00
history.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
ibusManager.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
inputMethod.js misc: Toggle IBus OSK capability on OSK visibility 2022-08-10 10:14:40 +00:00
introspect.js introspect: Add WindowsChanged signal 2022-03-08 16:31:20 +00:00
jsParse.js cleanup: Remove empty leading/trailing lines in blocks 2020-11-16 18:04:23 +00:00
keyboardManager.js keyboard: Fix display keyboard layout crash with some input methods 2021-03-29 09:33:45 +00:00
loginManager.js loginManager: Return objects instead of multiple booleans 2022-08-01 20:58:37 +02:00
meson.build config: Check runtime dependencies at runtime 2022-05-20 12:00:22 +00:00
modemManager.js js: Use async D-Bus wrappers 2022-08-01 18:51:14 +00:00
objectManager.js objectManager: Simplify fetching of remote objects 2022-08-01 18:51:14 +00:00
params.js cleanup: Only omit braces for single-line blocks 2019-11-11 19:25:14 +00:00
parentalControlsManager.js parentalControlsManager: Be less verbose on the logs 2022-02-18 22:05:16 +00:00
permissionStore.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
signals.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
signalTracker.js signalTracker: Use a const variable to hold the tracked object value 2022-07-06 18:24:41 +02:00
smartcardManager.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
systemActions.js loginManager: Return objects instead of multiple booleans 2022-08-01 20:58:37 +02:00
util.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
weather.js js: Use async D-Bus wrappers 2022-08-01 18:51:14 +00:00