[keyboard] Swapped primary and additional layouts in selection
This commit is contained in:
parent
354dc1613a
commit
384b1ba8c6
@ -181,8 +181,8 @@ Config::Config( QObject* parent )
|
|||||||
QString switchOption = xkbmap_query_grp_option();
|
QString switchOption = xkbmap_query_grp_option();
|
||||||
|
|
||||||
QProcess::execute( "setxkbmap", xkbmap_layout_args(
|
QProcess::execute( "setxkbmap", xkbmap_layout_args(
|
||||||
{ m_selectedLayout, info.additionalLayout },
|
{ info.additionalLayout, m_selectedLayout },
|
||||||
{ m_selectedVariant, info.additionalVariant },
|
{ info.additionalVariant, m_selectedVariant },
|
||||||
switchOption.isEmpty()?"grp:alt_shift_toggle":QString() )
|
switchOption.isEmpty()?"grp:alt_shift_toggle":QString() )
|
||||||
);
|
);
|
||||||
cDebug() << "xkbmap selection changed to: " << m_selectedLayout << '-' << m_selectedVariant
|
cDebug() << "xkbmap selection changed to: " << m_selectedLayout << '-' << m_selectedVariant
|
||||||
|
Loading…
Reference in New Issue
Block a user