Commit cfcf2baa authored by Andrey Butirsky's avatar Andrey Butirsky

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
parent cf4335ca
......@@ -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();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment