fix: [1/2] Keyboard Layout applet doesn't follow actual layout switching
We need to emit DBus signal on every layout change - explicit(keyboard shortcut, layout applet click) and implicit(focus window with different layout). Otherwise, external layout applet might not get updated. DIGEST: BUG: 426900
This commit is contained in:
parent
cf4335ca62
commit
cfcf2baae7
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ void Policy::setLayout(quint32 layout)
|
|||
m_xkb->switchToLayout(layout);
|
||||
if (previousLayout != m_xkb->currentLayout()) {
|
||||
m_layout->updateNotifier();
|
||||
emit m_layout->layoutChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue