Skip to content

Commit 24cfc34

Browse files
mtwebsterclefebvre
authored andcommitted
Update input-sources schema
This is to add support for wayland and IM.
1 parent 63b48cc commit 24cfc34

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

schemas/org.cinnamon.desktop.input-sources.gschema.xml.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
the current one in effect. The value is automatically capped
1111
to remain in the range [0, sources_length) as long as the
1212
sources list isn't empty.
13+
14+
DEPRECATED: This key is deprecated and ignored.
1315
</description>
1416
</key>
1517
<key name="sources" type="a(ss)">
@@ -42,5 +44,13 @@
4244
System Settings.
4345
</description>
4446
</key>
47+
<key name="per-window" type="b">
48+
<default>false</default>
49+
<summary>Use different input sources for each window</summary>
50+
<description>
51+
When enabled, input sources get attached to the currently
52+
focused window when activated.
53+
</description>
54+
</key>
4555
</schema>
4656
</schemalist>

schemas/org.cinnamon.desktop.keybindings.wm.gschema.xml.in

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,15 @@
355355
<default><![CDATA[['XF86RotateWindows']]]></default>
356356
<summary>Rotates the built-in monitor configuration</summary>
357357
</key>
358-
358+
<key name="switch-input-source" type="as">
359+
<default><![CDATA[['<Super>space','XF86Keyboard']]]></default>
360+
<summary>Switch input source</summary>
361+
<description>Binding to select the next input source</description>
362+
</key>
363+
<key name="switch-input-source-backward" type="as">
364+
<default><![CDATA[['<Shift><Super>space','<Shift>XF86Keyboard']]]></default>
365+
<summary>Switch input source backward</summary>
366+
<description>Binding to select the previous input source</description>
367+
</key>
359368
</schema>
360369
</schemalist>

0 commit comments

Comments
 (0)